prefect.events.schemas.events
matches
Resource
as_label_value_array
enforce_maximum_labels
get
has_all_labels
id
items
keys
labels
name
prefect_object_id
requires_resource_id
RelatedResource
enforce_maximum_labels
id
name
prefect_object_id
requires_resource_id
requires_resource_role
role
Event
find_resource_label
related:<role>:
, search for the
first matching label in a related resource with that role.
involved_resources
model_validate_list
reset_fields
_reset_fields
set.
Returns:
resource_in_role
resources_in_role
ReceivedEvent
is_set
set
asyncio.Event
, waiters may not be notified immediately when this is
called; instead, notification will be placed on the owning loop of each waiter
for thread safety.
wait
set()
is called, then return True.
ResourceSpecification
deepcopy
get
includes
items
matches
matches_every_resource
matches_every_resource_of_kind
pop