IterationContext#

class council.contexts.IterationContext(index: int, value: Any)[source]#

Bases: object

Provides context information when running inside a loop.

property index: int#

Returns the index of the current iteration

Return type:

int

property value: Any#

Returns the value for the current iteration

Return type:

Any