Skip to main content

prefect.cli.block

Block command — native cyclopts implementation. Manage blocks and block types.

Functions

register

Register blocks types within a module or file. This makes the blocks available for configuration via the UI. If a block type has already been registered, its registration will be updated to match the block’s current definition.

block_ls

View all configured blocks.

block_delete

Delete a configured block.

block_create

Generate a link to the Prefect UI to create a block.

block_inspect

Displays details about a configured block.

list_types

List all block types.

blocktype_inspect

Display details about a block type.

blocktype_delete

Delete an unprotected Block Type.