prefect.server.database.orm_models
Classes
Base
Base SQLAlchemy model that automatically infers the table name
and provides ID, created, and updated columns
Flow
SQLAlchemy mixin of a flow.
FlowRunState
SQLAlchemy mixin of a flow run state.
Methods:
as_state
data
TaskRunState
SQLAlchemy model of a task run state.
Methods:
as_state
data
Artifact
SQLAlchemy model of artifacts.
ArtifactCollection
TaskRunStateCache
SQLAlchemy model of a task run state cache.
Run
Common columns and logic for FlowRun and TaskRun models
Methods:
estimated_run_time
estimated_start_time_delta
FlowRun
SQLAlchemy model of a flow run.
Methods:
estimated_run_time
estimated_start_time_delta
set_state
state
TaskRun
SQLAlchemy model of a task run.
Methods:
estimated_run_time
estimated_start_time_delta
set_state
state
DeploymentSchedule
Deployment
SQLAlchemy model of a deployment.
Methods:
job_variables
Log
SQLAlchemy model of a logging statement.
ConcurrencyLimit
ConcurrencyLimitV2
BlockType
BlockSchema
BlockSchemaReference
BlockDocument
Methods:
decrypt_data
encrypt_data
BlockDocumentReference
Configuration
SavedSearch
SQLAlchemy model of a saved search.
WorkQueue
SQLAlchemy model of a work queue
WorkPool
SQLAlchemy model of an worker
Worker
SQLAlchemy model of an worker
Agent
SQLAlchemy model of an agent
Variable
FlowRunInput
CsrfToken
Automation
Methods:
sort_expression
AutomationBucket
AutomationHeldEvent
An expect event of a proactive trigger with after that was evaluated
before any bucket existed for its key, held for a bucket that opens later.