Paginators#
Index > ManagedBlockchain > Paginators
Auto-generated documentation for ManagedBlockchain type annotations stubs module mypy-boto3-managedblockchain.
ListAccessorsPaginator#
Type annotations and code completion for boto3.client("managedblockchain").get_paginator("list_accessors")
.
boto3 documentation
# ListAccessorsPaginator usage example
from boto3.session import Session
from mypy_boto3_managedblockchain.paginator import ListAccessorsPaginator
def get_list_accessors_paginator() -> ListAccessorsPaginator:
return Session().client("managedblockchain").get_paginator("list_accessors")
# ListAccessorsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_managedblockchain.paginator import ListAccessorsPaginator
session = Session()
client = Session().client("managedblockchain") # (1)
paginator: ListAccessorsPaginator = client.get_paginator("list_accessors") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ManagedBlockchainClient
- paginator: ListAccessorsPaginator
- item: ListAccessorsOutputTypeDef
paginate#
Type annotations and code completion for ListAccessorsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
NetworkType: AccessorNetworkTypeType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListAccessorsOutputTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListAccessorsInputPaginateTypeDef = { # (1)
"NetworkType": ...,
}
parent.paginate(**kwargs)