Alex Orlovskyi
02/17/2024, 9:42 PMcontext.instance.get_status_by_partition()
context.instance.get_run_partition_data()
where context is SensorEvaluationContextScout
02/17/2024, 9:42 PMcontext.instance.get_status_by_partition()
and context.instance.get_run_partition_data()
do not appear in the documentation provided. Therefore, we cannot give examples of their usage. If you're looking to work with partitions in the context of sensors, you might want to explore other methods or properties that are documented, such as accessing partition information through context.dagster_run.tags["dagster/partition"]
in the case of RunStatusSensorContext
or using context.instance.get_run_records()
to fetch runs with specific partition tags. For accurate and detailed examples of working with partitions and sensors, please refer to the official Dagster documentation or consider using methods that are documented, such as context.instance.get_run_records()
with appropriate filters for partitions. If you have any other questions or need further assistance with Dagster features, feel free to ask!