Skip to content

Paginators#

Index > ElementalInference > Paginators

Auto-generated documentation for ElementalInference type annotations stubs module mypy-boto3-elementalinference.

ListFeedsPaginator#

Type annotations and code completion for boto3.client("elementalinference").get_paginator("list_feeds"). boto3 documentation

# ListFeedsPaginator usage example

from boto3.session import Session

from mypy_boto3_elementalinference.paginator import ListFeedsPaginator

def get_list_feeds_paginator() -> ListFeedsPaginator:
    return Session().client("elementalinference").get_paginator("list_feeds")
# ListFeedsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_elementalinference.paginator import ListFeedsPaginator

session = Session()

client = Session().client("elementalinference")  # (1)
paginator: ListFeedsPaginator = client.get_paginator("list_feeds")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ElementalInferenceClient
  2. paginator: ListFeedsPaginator
  3. item: PageIterator[ListFeedsResponseTypeDef]

paginate#

Type annotations and code completion for ListFeedsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> botocore.paginate.PageIterator[ListFeedsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See PageIterator[ListFeedsResponseTypeDef]
# paginate method usage example with argument unpacking

kwargs: ListFeedsRequestPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListFeedsRequestPaginateTypeDef