diff --git a/python_modules/dagster/dagster/_core/execution/backfill.py b/python_modules/dagster/dagster/_core/execution/backfill.py index e74946ba2c8e9..e6d19be2610f6 100644 --- a/python_modules/dagster/dagster/_core/execution/backfill.py +++ b/python_modules/dagster/dagster/_core/execution/backfill.py @@ -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