Skip to content

Commit

Permalink
SNOW-1227759: Fix the type annotation of save_as_table (#1395)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jdu authored Apr 18, 2024
1 parent 038ba55 commit 30a77e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/snowflake/snowpark/dataframe_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def save_as_table(
column_order: str = "index",
create_temp_table: bool = False,
table_type: Literal["", "temp", "temporary", "transient"] = "",
clustering_keys: Iterable[Column],
clustering_keys: Optional[Iterable[ColumnOrName]] = None,
statement_params: Optional[Dict[str, str]] = None,
block: bool = True,
) -> None:
Expand All @@ -102,7 +102,7 @@ def save_as_table(
column_order: str = "index",
create_temp_table: bool = False,
table_type: Literal["", "temp", "temporary", "transient"] = "",
clustering_keys: Iterable[Column],
clustering_keys: Optional[Iterable[ColumnOrName]] = None,
statement_params: Optional[Dict[str, str]] = None,
block: bool = False,
) -> AsyncJob:
Expand Down

0 comments on commit 30a77e7

Please sign in to comment.