Skip to content

Commit b4c5751

Browse files
authored
fix declaration
1 parent 50bb81f commit b4c5751

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

airbyte_cdk/utils/datetime_helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ def ab_datetime_parse(
396396
"""
397397
# Handle numeric values as Unix timestamps (UTC)
398398
if isinstance(dt_str, int):
399+
timestamp: int = dt_str
399400
if timestamp < 0:
400401
raise ValueError("Timestamp cannot be negative")
401402
if len(str(abs(timestamp))) > 10:

0 commit comments

Comments
 (0)