prefect block
Manage blocks.
prefect block 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.
Examples: Register block types in a Python module: $ prefect block register -m prefect_aws.credentials Register block types in a .py file: $ prefect block register -f my_blocks.py
prefect block ls
View all configured blocks.
prefect block delete
Delete a configured block.
prefect block create
Generate a link to the Prefect UI to create a block.
prefect block inspect
Displays details about a configured block.
prefect block types
Inspect and delete block types.
prefect block types ls
List all block types.
prefect block types inspect
Display details about a block type.
prefect block types delete
Delete an unprotected Block Type.
prefect block type
Inspect and delete block types.
prefect block type ls
List all block types.
prefect block type inspect
Display details about a block type.
prefect block type delete
Delete an unprotected Block Type.
Was this page helpful?