# Flow
Experimental
# FlowView
class
prefect.backend.flow.FlowView
(flow_id, settings, run_config, serialized_flow, archived, project_name, core_version, storage, name, flow_group_labels)[source]A view of Flow metadata stored in the Prefect API.
This object is designed to be an immutable view of the data stored in the Prefect backend API at the time it is created
EXPERIMENTAL: This interface is experimental and subject to change
Args:
flow_id
: The uuid of the flowsettings
: A dict of flow settingsrun_config
: A dict representation of the flow's run configurationserialized_flow
: A serialized copy of the flowarchived
: A bool indicating if this flow is archived or notproject_name
: The name of the project the flow is registered tocore_version
: The core version that was used to register the flowstorage
: The deserialized Storage object used to store this flowname
: The name of the flowflow_group_labels
: Labels that are assigned to the parent flow group
methods: |
---|
prefect.backend.flow.FlowView.from_flow_group_id (flow_group_id)[source] |
Get an instance of this class given a
|
prefect.backend.flow.FlowView.from_flow_id (flow_id)[source] |
Get an instance of this class given a
|
prefect.backend.flow.FlowView.from_flow_name (flow_name, project_name="", last_updated=False)[source] |
Get an instance of this class given a flow name. Optionally, a project name can be included since flow names are not guaranteed to be unique across projects.
|
prefect.backend.flow.FlowView.from_id (flow_id)[source] |
Get an instance of this class given a
|
This documentation was auto-generated from commit n/a
on February 23, 2022 at 19:26 UTC