Skip to main content

prefect.client.schemas.events

Classes

EventPage

a single page of events returned from the API Methods:

get_next_page

get_next_page(self, client: 'PrefectClient') -> 'EventPage | None'
fetch the next page of events. Args:
  • client: the PrefectClient instance to use for fetching
Returns:
  • the next EventPage, or None if there are no more pages

get_next_page_sync

get_next_page_sync(self, client: 'SyncPrefectClient') -> 'EventPage | None'
fetch the next page of events (sync version). Args:
  • client: the SyncPrefectClient instance to use for fetching
Returns:
  • the next EventPage, or None if there are no more pages

model_validate_list

model_validate_list(cls, obj: Any) -> list[Self]

reset_fields

reset_fields(self: Self) -> Self
Reset the fields of the model that are in the _reset_fields set. Returns:
  • A new instance of the model with the reset fields.