Skip to content

Commit

Permalink
add missing type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-aalam committed Dec 1, 2023
1 parent e92376a commit ae80749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/snowpark/dataframe_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def _get_metadata_project_and_schema(self) -> Tuple[List[str], List[Attribute]]:

metadata_schema = []

def _get_unaliased_name(unaliased: ColumnOrName):
def _get_unaliased_name(unaliased: ColumnOrName) -> str:
if isinstance(unaliased, Column):
if isinstance(unaliased._expression, Alias):
return unaliased._expression.child.sql
Expand Down

0 comments on commit ae80749

Please sign in to comment.