check#
- StepBreakpointer.check(state)[source]#
Checks if the maximum number of iterations has been reached.
This method increments the internal step counter and compares it with the
max_stepslimit. If the limit is reached, it resets the counter for potential reuse and returns True.- Parameters:
state (PipelineState) – The current state of the pipeline. This parameter is unused in this specific breakpointer but required by the base class interface.
- Returns:
True if the iteration limit is reached, False otherwise.
- Return type:
bool