Skip to main content

prefect.events.filters

Classes

AutomationFilterCreated

Filter by Automation.created. Methods:

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.

AutomationFilterName

Filter by Automation.created. Methods:

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.

AutomationFilterTags

Filter by Automation.tags. Methods:

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.

AutomationFilter

Methods:

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.

EventDataFilter

A base class for filtering event data. Methods:

excludes

Would the given filter exclude this event?

get_filters

includes

Does the given event match the criteria of this filter?

model_validate_list

reset_fields

Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.

EventOccurredFilter

Methods:

excludes

Would the given filter exclude this event?

get_filters

includes

includes

Does the given event match the criteria of this filter?

EventNameFilter

Methods:

excludes

Would the given filter exclude this event?

get_filters

includes

includes

Does the given event match the criteria of this filter?

EventResourceFilter

Methods:

excludes

Would the given filter exclude this event?

get_filters

includes

includes

Does the given event match the criteria of this filter?

EventRelatedFilter

Methods:

excludes

Would the given filter exclude this event?

get_filters

includes

Does the given event match the criteria of this filter?

EventAnyResourceFilter

Methods:

excludes

Would the given filter exclude this event?

get_filters

includes

includes

Does the given event match the criteria of this filter?

EventIDFilter

Methods:

excludes

Would the given filter exclude this event?

get_filters

includes

includes

Does the given event match the criteria of this filter?

EventTextFilter

Filter by text search across event content. Methods:

excludes

Would the given filter exclude this event?

get_filters

includes

Does the given event match the criteria of this filter?

EventOrder

Methods:

auto

Exposes enum.auto() to avoid requiring a second import to use AutoEnum

EventFilter

Methods:

excludes

Would the given filter exclude this event?

get_filters

includes

Does the given event match the criteria of this filter?