Skip to content

Paginators#

Index > Translate > Paginators

Auto-generated documentation for Translate type annotations stubs module mypy-boto3-translate.

ListTerminologiesPaginator#

Type annotations and code completion for boto3.client("translate").get_paginator("list_terminologies"). boto3 documentation

# ListTerminologiesPaginator usage example

from boto3.session import Session

from mypy_boto3_translate.paginator import ListTerminologiesPaginator

def get_list_terminologies_paginator() -> ListTerminologiesPaginator:
    return Session().client("translate").get_paginator("list_terminologies")
# ListTerminologiesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_translate.paginator import ListTerminologiesPaginator

session = Session()

client = Session().client("translate")  # (1)
paginator: ListTerminologiesPaginator = client.get_paginator("list_terminologies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: TranslateClient
  2. paginator: ListTerminologiesPaginator
  3. item: ListTerminologiesResponseTypeDef

paginate#

Type annotations and code completion for ListTerminologiesPaginator.paginate method.

# paginate method definition

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

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

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