dagster icon indicating copy to clipboard operation
dagster copied to clipboard

[DS][28/n] Create WillBeRequestedCondition

Open OwenKephart opened this issue 9 months ago • 3 comments

Summary & Motivation

Creates a WillBeRequestedCondition. Naming is somewhat sketch, but the basic idea is that in the past we've merged together this concept with existing rules.

I.e. in AMP-world, the "skip_on_parent_missing" rule is actually "skip on parent (missing and will not be requested this tick)".

This is obviously a bit confusing, and now that all of our dep conditions are composable, breaking this out into its own separate condition is desirable.

How I Tested These Changes

OwenKephart avatar May 03 '24 18:05 OwenKephart

  • #21641 Graphite: 2 dependent PRs (#21670 Graphite, #21671 Graphite)
  • #21640 Graphite 👈
  • #21648 Graphite
  • #21615 Graphite
  • #21613 Graphite
  • #21612 Graphite
  • #21573 Graphite
  • #21546 Graphite
  • #21545 Graphite
  • #21541 Graphite
  • #21540 Graphite
  • #21539 Graphite
  • #21538 Graphite
  • #21537 Graphite
  • #21536 Graphite
  • #21535 Graphite
  • #21521 Graphite
  • #21520 Graphite
  • #21511 Graphite: 1 other dependent PR (#21512 Graphite)
  • #21510 Graphite
  • #21508 Graphite
  • #21507 Graphite
  • #21505 Graphite
  • #21504 Graphite
  • #21503 Graphite
  • #21502 Graphite
  • #21501 Graphite
  • #21500 Graphite
  • #21499 Graphite
  • master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @OwenKephart and the rest of your teammates on Graphite Graphite

OwenKephart avatar May 03 '24 18:05 OwenKephart

Could you add a condition that instead of only working on any or all assets, it applies to an explicit subset?

ion-elgreco avatar May 04 '24 18:05 ion-elgreco

@ion-elgreco

Could you add a condition that instead of only working on any or all assets, it applies to an explicit subset?

Adding that functionality to SchedulingCondition.any_deps_match and similar is certainly in the plans -- currently conceptualizing adding allow_keys and ignore_keys type arguments.

OwenKephart avatar May 10 '24 22:05 OwenKephart

Merge activity

  • May 14, 10:38 AM EDT: @OwenKephart started a stack merge that includes this pull request via Graphite.
  • May 14, 10:45 AM EDT: Graphite rebased this pull request as part of a merge.
  • May 14, 10:46 AM EDT: @OwenKephart merged this pull request with Graphite.

OwenKephart avatar May 14 '24 14:05 OwenKephart