Skip to content

Commit 4f2ec85

Browse files
committed
fix type hint
1 parent 74b1eee commit 4f2ec85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/snowflake/snowpark/functions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,9 @@ def column(name1: str, name2: Optional[str] = None, _emit_ast: bool = True) -> C
340340

341341
@publicapi
342342
def lit(
343-
literal: LiteralType, datatype: Optional[DataType] = None, _emit_ast: bool = True
343+
literal: ColumnOrLiteral,
344+
datatype: Optional[DataType] = None,
345+
_emit_ast: bool = True,
344346
) -> Column:
345347
"""
346348
Creates a :class:`~snowflake.snowpark.Column` expression for a literal value.

0 commit comments

Comments
 (0)