Skip to content

Paginators#

Index > Textract > Paginators

Auto-generated documentation for Textract type annotations stubs module mypy-boto3-textract.

ListAdapterVersionsPaginator#

Type annotations and code completion for boto3.client("textract").get_paginator("list_adapter_versions"). boto3 documentation

# ListAdapterVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_textract.paginator import ListAdapterVersionsPaginator

def get_list_adapter_versions_paginator() -> ListAdapterVersionsPaginator:
    return Session().client("textract").get_paginator("list_adapter_versions")
# ListAdapterVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_textract.paginator import ListAdapterVersionsPaginator

session = Session()

client = Session().client("textract")  # (1)
paginator: ListAdapterVersionsPaginator = client.get_paginator("list_adapter_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: TextractClient
  2. paginator: ListAdapterVersionsPaginator
  3. item: ListAdapterVersionsResponseTypeDef

paginate#

Type annotations and code completion for ListAdapterVersionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    AdapterId: str = ...,
    AfterCreationTime: TimestampTypeDef = ...,
    BeforeCreationTime: TimestampTypeDef = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListAdapterVersionsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAdapterVersionsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAdapterVersionsRequestPaginateTypeDef = {  # (1)
    "AdapterId": ...,
}

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

ListAdaptersPaginator#

Type annotations and code completion for boto3.client("textract").get_paginator("list_adapters"). boto3 documentation

# ListAdaptersPaginator usage example

from boto3.session import Session

from mypy_boto3_textract.paginator import ListAdaptersPaginator

def get_list_adapters_paginator() -> ListAdaptersPaginator:
    return Session().client("textract").get_paginator("list_adapters")
# ListAdaptersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_textract.paginator import ListAdaptersPaginator

session = Session()

client = Session().client("textract")  # (1)
paginator: ListAdaptersPaginator = client.get_paginator("list_adapters")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: TextractClient
  2. paginator: ListAdaptersPaginator
  3. item: ListAdaptersResponseTypeDef

paginate#

Type annotations and code completion for ListAdaptersPaginator.paginate method.

# paginate method definition

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

kwargs: ListAdaptersRequestPaginateTypeDef = {  # (1)
    "AfterCreationTime": ...,
}

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