Skip to content

Commit

Permalink
fix:__repr__ in TimestampType
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoshi-Egawa committed Jan 25, 2025
1 parent e1aa089 commit 32c2f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snowflake/snowpark/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def __init__(self, timezone: TimestampTimeZone = TimestampTimeZone.DEFAULT) -> N

def __repr__(self) -> str:
return (
f"TimestampType(tz={self.tzinfo})"
f"timezone=TimestampTimeZone('{self.tz}')"
if self.tzinfo != ""
else "TimestampType()"
)
Expand Down

0 comments on commit 32c2f4a

Please sign in to comment.