-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store allow_backfills in the sensor metadata
- Loading branch information
1 parent
df8311b
commit befafe9
Showing
5 changed files
with
43 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ts/declarative_automation_tests/daemon_tests/definitions/backfill_simple_non_user_code.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import dagster as dg | ||
|
||
|
||
def get_defs() -> dg.Definitions: | ||
from .backfill_simple_user_code import defs as uc_defs # noqa | ||
|
||
return dg.Definitions( | ||
assets=uc_defs.assets, | ||
sensors=[ | ||
dg.AutomationConditionSensorDefinition( | ||
name="the_sensor", asset_selection="*", allow_backfills=True | ||
) | ||
], | ||
) | ||
|
||
|
||
defs = get_defs() |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters