core
prefect.server.schemas.core
Full schemas of Prefect REST API objects.
Classes
Flow
An ORM representation of flow data.
FlowRunPolicy
Defines of how a flow run should retry.
Methods:
populate_deprecated_fields
CreatedBy
UpdatedBy
ConcurrencyLimitStrategy
Enumeration of concurrency collision strategies.
ConcurrencyOptions
Class for storing the concurrency config in database.
FlowRun
An ORM representation of flow run data.
Methods:
set_name
TaskRunPolicy
Defines of how a task run should retry.
Methods:
populate_deprecated_fields
validate_configured_retry_delays
validate_jitter_factor
TaskRunInput
Base class for classes that represent inputs to task runs, which could include, constants, parameters, or other task runs.
TaskRunResult
Represents a task run result input to another task run.
Parameter
Represents a parameter input to a task run.
Constant
Represents constant input value to a task run.
TaskRun
An ORM representation of task run data.
Methods:
set_name
validate_cache_key
DeploymentSchedule
Methods:
validate_max_scheduled_runs
VersionInfo
Deployment
An ORM representation of deployment data.
ConcurrencyLimit
An ORM representation of a concurrency limit.
ConcurrencyLimitV2
An ORM representation of a v2 concurrency limit.
BlockType
An ORM representation of a block type
BlockSchema
An ORM representation of a block schema.
BlockSchemaReference
An ORM representation of a block schema reference.
BlockDocument
An ORM representation of a block document.
Methods:
validate_name_is_present_if_not_anonymous
BlockDocumentReference
An ORM representation of a block document reference.
Methods:
validate_parent_and_ref_are_different
Configuration
An ORM representation of account info.
SavedSearchFilter
A filter for a saved search model. Intended for use by the Prefect UI.
SavedSearch
An ORM representation of saved search data. Represents a set of filter criteria.
Log
An ORM representation of log data.
QueueFilter
Filter criteria definition for a work queue.
WorkQueue
An ORM representation of a work queue
WorkQueueHealthPolicy
Methods:
evaluate_health_status
Given empirical information about the state of the work queue, evaluate its health status.
Args:
late_runs
: the count of late runs for the work queue.last_polled
: the last time the work queue was polled, if available.
Returns:
- whether or not the work queue is healthy.
WorkQueueStatusDetail
Agent
An ORM representation of an agent
WorkPoolStorageConfiguration
A representation of a work pool’s storage configuration
WorkPool
An ORM representation of a work pool
Methods:
helpful_error_for_missing_default_queue_id
model_validate
Worker
An ORM representation of a worker
Artifact
Methods: