Skip to content

Commit 60e1a09

Browse files
Add WorkGroup parameter to ListDatabases API
Similar to GetTableMetadata and ListTableMetadata, the ListDatabases API also supports the WorkGroup parameter for IAM Identity Center enabled Glue Data Catalogs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 58a14c8 commit 60e1a09

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pyathena/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,8 @@ def _build_list_databases_request(
308308
}
309309
if next_token:
310310
request.update({"NextToken": next_token})
311+
if self._work_group:
312+
request.update({"WorkGroup": self._work_group})
311313
return request
312314

313315
def _list_databases(

0 commit comments

Comments
 (0)