bloqade.gemini.common.validation.recursion.format_cycle
← Module overview
function
source
functionformat_cycle¶source
bloqade.gemini.common.validation.recursion.format_cycle
def format_cycle(cycle: Cycle | list[ir.Method]) -> strRender a cycle as a -> b -> a, closing the loop for readability.
A cycle reached from elsewhere also reports the route, as
b -> b (reached via main -> a -> b).
Parameters
| Name | Type | Description |
|---|---|---|
cycle | Cycle | list[ir.Method] |
Returns
str