[Core feature] Add type transformer for datetime.date #3026
Labels
enhancement
New feature or request
flytekit
FlyteKit Python related issue
good first issue
Good for newcomers
scipy-2023
Milestone
Motivation: Why do you think this is important?
Flyte currently does not support the
datetime.date
object for passing to or from tasks.In
flytekit/core/type_engine.py
there are transformers fordatetime.datetime
anddatetime.timedelta
, but not fordatetime.date
.Goal: What should the final outcome look like, ideally?
Flyte tasks should be able to accept and return
datetime.date
objects.Describe alternatives you've considered
The workaround is to use a
datetime.datetime
or to use a string of the form "YYYY-MM-DD".Propose: Link/Inline OR Additional context
No response
Are you sure this issue hasn't been raised already?
Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: