Skip to content

Commit

Permalink
fix: restore input types
Browse files Browse the repository at this point in the history
  • Loading branch information
roslovets committed Jun 30, 2023
1 parent 0fe5485 commit 085860a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbt/adapters/athena/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,15 +855,15 @@ def is_list(self, value: Any) -> bool:
return isinstance(value, list)

@staticmethod
def _get_table_input(table):
def _get_table_input(table: Dict[str, Any]) -> Dict[str, Any]:
"""
Prepare Glue Table dictionary to be a table_input argument of update_table() method.
This is needed because update_table() does not accept some read-only fields of table dictionary
returned by get_table() method.
This code was derived from awswrangler==3.2.1.
"""
table_input = {}
table_input: Dict[str, Any] = {}
for k, v in table.items():
if k in [
"Name",
Expand Down

0 comments on commit 085860a

Please sign in to comment.