Skip to content

Commit 36a420f

Browse files
authored
[core-api][experimental] repository_def in RunStatusSensorDefinition (#26709)
## Summary & Motivation decision: experimental -> beta reason: this is an unfortunate case where a fairly-new option actually ended up needing to reference the superseded repository API. we should fix that before making this GA (and this is a fairly niche option) docs exist: n/a ## How I Tested These Changes ## Changelog > Insert changelog entry or delete this section.
1 parent 0245369 commit 36a420f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python_modules/dagster/dagster/_core/definitions/run_status_sensor_definition.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from typing_extensions import TypeAlias
1010

1111
import dagster._check as check
12-
from dagster._annotations import deprecated_param, experimental_param, public
12+
from dagster._annotations import beta_param, deprecated_param, public
1313
from dagster._core.definitions.graph_definition import GraphDefinition
1414
from dagster._core.definitions.instigation_logger import InstigationLogger
1515
from dagster._core.definitions.job_definition import JobDefinition
@@ -331,7 +331,7 @@ def get_step_failure_events(self) -> Sequence[DagsterEvent]:
331331
return [cast(DagsterEvent, record.event_log_entry.dagster_event) for record in records]
332332

333333

334-
@experimental_param(param="repository_def")
334+
@beta_param(param="repository_def")
335335
def build_run_status_sensor_context(
336336
sensor_name: str,
337337
dagster_event: DagsterEvent,

0 commit comments

Comments
 (0)