Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DS][19/n] Create SchedulingCondition object to replace AssetCondition #21540

Conversation

OwenKephart
Copy link
Contributor

@OwenKephart OwenKephart commented Apr 30, 2024

Summary & Motivation

Create a SchedulingCondition object which serves as a base class for AssetCondition (which will be removed entirely in the future).

Replaces most uses of AssetCondition with SchedulingCondition across the codebase

How I Tested These Changes

Copy link
Contributor Author

OwenKephart commented Apr 30, 2024

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 OwenKephart changed the title [DS][x/n] Create SchedulingCondition object to replace AssetCondition [DS][19/n] Create SchedulingCondition object to replace AssetCondition Apr 30, 2024
@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from 04bc8d9 to 46d8114 Compare April 30, 2024 23:32
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from 776411b to e4a9098 Compare April 30, 2024 23:33
@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from 46d8114 to 3fd2d0f Compare May 1, 2024 16:34
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from e4a9098 to 85dacdb Compare May 1, 2024 16:34
@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from 3fd2d0f to b80f8c8 Compare May 1, 2024 22:56
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from 85dacdb to 5fe2c2d Compare May 1, 2024 22:56
@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from b80f8c8 to 6bb5eff Compare May 1, 2024 23:02
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from 5fe2c2d to 0902a81 Compare May 1, 2024 23:02
from .scheduling_context import SchedulingContext


class SchedulingCondition(ABC, DagsterModel):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might consider naming the ABC ISchedulingCondition or something because I will assume you will want a concrete SchedulingCondition later.

@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from 6bb5eff to 8915abe Compare May 2, 2024 19:53
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from 0902a81 to 9505365 Compare May 2, 2024 19:53
@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from 8915abe to 3a89a5a Compare May 2, 2024 22:17
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from 9505365 to 2a6363d Compare May 2, 2024 22:17
@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from 3a89a5a to 58fffcd Compare May 2, 2024 22:59
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from 2a6363d to 087d087 Compare May 2, 2024 22:59
@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from d7a24af to e83b8dc Compare May 3, 2024 16:58
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from 99e8c49 to 122d0d4 Compare May 3, 2024 16:58
@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from e83b8dc to acdf595 Compare May 3, 2024 21:11
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from 122d0d4 to b962b89 Compare May 3, 2024 21:11
Copy link
Contributor Author

OwenKephart commented May 3, 2024

Merge activity

  • May 3, 5:31 PM EDT: @OwenKephart started a stack merge that includes this pull request via Graphite.
  • May 3, 6:11 PM EDT: Graphite rebased this pull request as part of a merge.
  • May 3, 6:12 PM EDT: @OwenKephart merged this pull request with Graphite.

@OwenKephart OwenKephart force-pushed the 04-30-Move_serialized_objects_to_separate_file branch from acdf595 to 9d4e494 Compare May 3, 2024 22:07
Base automatically changed from 04-30-Move_serialized_objects_to_separate_file to master May 3, 2024 22:10
@OwenKephart OwenKephart force-pushed the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch from b962b89 to 8d0118f Compare May 3, 2024 22:11
@OwenKephart OwenKephart merged commit ff8dcca into master May 3, 2024
1 check was pending
@OwenKephart OwenKephart deleted the 04-30-Create_SchedulingCondition_object_to_replace_AssetCondition branch May 3, 2024 22:12
cmpadden pushed a commit that referenced this pull request May 6, 2024
#21540)

## Summary & Motivation

Create a SchedulingCondition object which serves as a base class for AssetCondition (which will be removed entirely in the future).

Replaces most uses of AssetCondition with SchedulingCondition across the codebase

## How I Tested These Changes
danielgafni pushed a commit to danielgafni/dagster that referenced this pull request Jun 18, 2024
dagster-io#21540)

## Summary & Motivation

Create a SchedulingCondition object which serves as a base class for AssetCondition (which will be removed entirely in the future).

Replaces most uses of AssetCondition with SchedulingCondition across the codebase

## How I Tested These Changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants