Skip to content

iter_list_flywheel_iteration_history

iter_list_flywheel_iteration_history(
    flywheel_arn: ComprehendFlywheelArn,
    *,
    config_overrides: Optional[ComprehendClientConfig] = None,
    filter: Optional[FlywheelIterationFilter] = None,
    next_token: Optional[String] = None,
    max_results: Optional[MaxResultsInteger] = None,
) -> Iterator[ListFlywheelIterationHistoryResponse]
Source code in docs_src/capo_comprehend/_services/comprehend.py
def iter_list_flywheel_iteration_history(
    self,
    flywheel_arn: "capo_comprehend.types.comprehend_flywheel_arn.ComprehendFlywheelArn",
    *,
    config_overrides: Optional[ComprehendClientConfig] = None,
    filter: Optional[
        "capo_comprehend.types.flywheel_iteration_filter.FlywheelIterationFilter"
    ] = None,
    next_token: Optional["capo_comprehend.types.string.String"] = None,
    max_results: Optional[
        "capo_comprehend.types.max_results_integer.MaxResultsInteger"
    ] = None,
) -> "Iterator[capo_comprehend.types.list_flywheel_iteration_history_response.ListFlywheelIterationHistoryResponse]":
    _token = next_token
    while True:
        _response = self.list_flywheel_iteration_history(
            flywheel_arn,
            config_overrides=config_overrides,
            filter=filter,
            next_token=_token,
            max_results=max_results,
        )
        yield _response
        _token = _resolve_path(_response, ("next_token",))
        if not _token:
            break