From ae80749a7498ea547a271075ed8f58a12ca95c79 Mon Sep 17 00:00:00 2001 From: Afroz Alam Date: Thu, 30 Nov 2023 16:11:14 -0800 Subject: [PATCH] add missing type hint --- src/snowflake/snowpark/dataframe_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/snowflake/snowpark/dataframe_reader.py b/src/snowflake/snowpark/dataframe_reader.py index 81bdb62e1f7..08fa27582fd 100644 --- a/src/snowflake/snowpark/dataframe_reader.py +++ b/src/snowflake/snowpark/dataframe_reader.py @@ -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