Oscar Delicaat
03/16/2023, 2:35 PM@run_status_sensor(run_status=DagsterRunStatus.STARTED, monitor_all_repositories=True,
minimum_interval_seconds=60, default_status=DefaultSensorStatus.RUNNING)
def run_started_sensor(context):
partition = context.dagster_run.tags["dagster/partition"]
However, the partition is now a string instead of a datetime and the format is different for both hourly / daily. Is there another way to get the partition as a datetime?
Thanks!
Oscaryuhan
03/16/2023, 11:12 PMdatetime.datetime
Oscar Delicaat
03/17/2023, 12:44 PM