Skip to content

Commit

Permalink
expr.endswith(".date()")
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Koutsimpogiorgos committed Sep 4, 2024
1 parent 6ac8918 commit 4e09c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singer_sdk/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def _eval_type(
if expr.startswith("bool("):
return th.BooleanType()

if expr.startswith("datetime.date"):
if expr.startswith("datetime.date") or expr.endswith(".date()"):
return th.DateType()

if expr.startswith("datetime.datetime"):
Expand Down

0 comments on commit 4e09c9f

Please sign in to comment.