Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Aug 20, 2024
1 parent b1884c3 commit 0cacc67
Showing 1 changed file with 15 additions and 0 deletions.
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

0 comments on commit 0cacc67

Please sign in to comment.