Skip to content

Commit d1d2fcb

Browse files
authored
Update _list.py (#2275)
fixed typo in NextToken
1 parent 56a55a8 commit d1d2fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/timestream/_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def list_tables(database: Optional[str] = None, boto3_session: Optional[boto3.Se
8383
args = {} if database is None else {"DatabaseName": database}
8484
response = client.list_tables(**args) # type: ignore[arg-type]
8585
tables: List[str] = [tbl["TableName"] for tbl in response["Tables"]]
86-
while "nextToken" in response:
86+
while "NextToken" in response:
8787
response = client.list_tables(**args, NextToken=response["NextToken"]) # type: ignore[arg-type]
8888
tables += [tbl["TableName"] for tbl in response["Tables"]]
8989

0 commit comments

Comments
 (0)