Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Januszek committed Apr 26, 2022
1 parent 209c074 commit c863b18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions airflow/providers/google/cloud/hooks/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,7 @@ def update_table_schema(
dataset_id: str,
table_id: str,
project_id: Optional[str] = None,
) -> None:
) -> Dict[str, Any]:
"""
Update fields within a schema for a given dataset and table. Note that
some fields in schemas are immutable and trying to change them will cause
Expand Down Expand Up @@ -2270,7 +2270,7 @@ def create_empty_table(self, *args, **kwargs) -> None:
)
return self.hook.create_empty_table(*args, **kwargs)

def create_empty_dataset(self, *args, **kwargs) -> None:
def create_empty_dataset(self, *args, **kwargs) -> Dict[str, Any]:
"""
This method is deprecated.
Please use `airflow.providers.google.cloud.hooks.bigquery.BigQueryHook.create_empty_dataset`
Expand Down

0 comments on commit c863b18

Please sign in to comment.