millions-night-34157
08/08/2023, 6:25 AMdatetime.date
as a parameter. Does Flyte support data types like datetime.date
/ datetime.datetime
?glamorous-carpet-83516
08/08/2023, 6:35 AMglamorous-carpet-83516
08/08/2023, 6:36 AMmillions-night-34157
08/08/2023, 6:58 AMdatetime.datetime
but datime.date
is mentioned here. Hence the questionglamorous-carpet-83516
08/08/2023, 7:00 AMdatatime.date
. we don’t support it yet. it’s a known issue. https://github.com/flyteorg/flyte/issues/3026millions-night-34157
08/08/2023, 7:03 AMdatetime.date
thenfreezing-airport-6809
millions-night-34157
08/08/2023, 3:02 PMfreezing-airport-6809
freezing-airport-6809
freezing-airport-6809
millions-night-34157
08/08/2023, 3:28 PMtall-lock-23197
flaky-daybreak-42119
08/09/2023, 7:50 AMbored-beard-89967
11/01/2023, 8:40 PMObject of type date is not JSON serializable
and we are on 1.9.0, which is the release that introduced support for datetime.date
. However, I use datetime.date
in a dataclass as follows:
@dataclass_json
@dataclass
class MyOutputClass:
start_date: datetime.date
end_date: datetime.date
Should I expect this to work?tall-lock-23197
tall-lock-23197
datetime.date
type is present in the mashumaro's supported data types: https://github.com/Fatal1ty/mashumaro#supported-data-types.bored-beard-89967
11/02/2023, 12:29 PM