prefect.server.models.logs
Functions for interacting with log ORM objects.
Intended for internal use by the Prefect REST API.
Functions
split_logs_into_batches
create_logs
session
: a database sessionlogs
: a list of log schemas
- None
read_logs
session
: a database sessiondb
: the database interfacelog_filter
: only select logs that match these filtersoffset
: Query offsetlimit
: Query limitsort
: Query sort
- List[orm_models.Log]: the matching logs