Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Aug 21, 2024
1 parent 67b30d4 commit 489a7ae
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
15 changes: 15 additions & 0 deletions python_modules/dagster/dagster/_core/execution/backfill.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@ def from_graphql_input(graphql_str):

@record
class BulkActionsFilter:
"""Filters to use when querying for bulk actions (i.e. backfills) from the BulkActionsTable.
Each field of the BulkActionsFilter represents a logical AND with each other. For
example, if you specify status and created_before, then you will receive only bulk actions
with the specified states AND the created before created_before. If left blank, then
all values will be permitted for that field.
Args:
status (Optional[BulkActionStatus]): A status to filter by.
created_before (Optional[DateTime]): Filter by bulk actions that were created before this datetime. Note that the
create_time for each bulk action is stored in UTC.
created_after (Optional[DateTime]): Filter by bulk actions that were created after this datetime. Note that the
create_time for each bulk action is stored in UTC.
"""

status: Optional[BulkActionStatus] = None
created_before: Optional[datetime] = None
created_after: Optional[datetime] = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


class TestPostgresRunStorage(TestRunStorage):
# TestPostgresRunStorage::test_backfill_created_time_filtering
__test__ = True

@pytest.fixture(scope="function", name="storage")
Expand Down

0 comments on commit 489a7ae

Please sign in to comment.