Jessica Smith
06/28/2022, 9:59 PMwith Flow("Test_Flow", storage=Module("test_flow")) as flow:
flow.add_task(
Parameter(name="test_date", default=pendulum.datetime(1900, 1, 1).isoformat())
)
Kevin Kho
06/28/2022, 10:02 PMJessica Smith
06/28/2022, 10:04 PMKevin Kho
06/28/2022, 10:14 PMJessica Smith
06/28/2022, 10:15 PM{
"name": "end_date",
"slug": "end_date",
"tags": [
"end_date",
"parameter"
],
"type": "prefect.core.parameter.Parameter",
"default": "2099-12-31T00:00:00+00:00",
"outputs": "typing.Any",
"required": false,
"__version__": "1.2.2"
},
Kevin Kho
06/28/2022, 10:18 PMfrom prefect import Flow, task, Parameter
import pendulum
with Flow("Test_Flow") as flow:
Parameter(name="test_date", default=pendulum.datetime(1900, 1, 1).isoformat())()
flow.register("databricks2")
Jessica Smith
06/28/2022, 10:21 PMKevin Kho
06/28/2022, 10:22 PMJessica Smith
06/28/2022, 10:22 PM{
"config_overrides": {
"cloud": {
"heartbeat_mode": true
},
"engine": {
"executor": {
"default_class": true
}
},
"logging": {
"extra_loggers": true
}
},
"env_vars": [
"PREFECT__ENGINE__EXECUTOR__DEFAULT_CLASS",
"PREFECT__FLOWS__CHECKPOINTING",
"PREFECT__LOGGING__EXTRA_LOGGERS",
"PREFECT__USER_CONFIG_PATH"
],
"system_information": {
"platform": "Windows-10-10.0.19044-SP0",
"prefect_backend": "cloud",
"prefect_version": "1.2.2",
"python_version": "3.9.5"
}
}
Kevin Kho
06/28/2022, 10:25 PMJessica Smith
06/28/2022, 10:28 PMKevin Kho
06/28/2022, 10:59 PM"test_date": "2049-12-31T16:00:00-08:00"
but i still couldn’t replicateJessica Smith
06/28/2022, 11:00 PMKevin Kho
06/28/2022, 11:02 PMJessica Smith
06/28/2022, 11:03 PMKevin Kho
06/28/2022, 11:08 PMJessica Smith
06/28/2022, 11:09 PMKevin Kho
06/28/2022, 11:14 PMJessica Smith
06/28/2022, 11:15 PMKevin Kho
06/28/2022, 11:16 PMJessica Smith
06/28/2022, 11:16 PMKevin Kho
06/28/2022, 11:17 PMJessica Smith
06/28/2022, 11:19 PM