Skip to main content

prefect.server.models.block_documents

Functions for interacting with block document ORM objects. Intended for internal use by the Prefect REST API.

Functions

emit_block_document_created_event

Emit an event when a (non-anonymous) block document is created.

emit_block_document_updated_event

Emit an event when a (non-anonymous) block document is updated.

emit_block_document_deleted_event

Emit an event when a (non-anonymous) block document is deleted.

create_block_document

block_document_with_unique_values_exists

read_block_document_by_id

read_block_document_by_name

Read a block document with the given name and block type slug.

read_block_documents

Read block documents with an optional limit and offset

count_block_documents

Count block documents that match the filters.

delete_block_document

update_block_document

create_block_document_reference

delete_block_document_reference