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.
Arguments
A block slug. Formatted as ‘<BLOCK_TYPE_SLUG>/<BLOCK_NAME>’
Options
A block id.
prefect block create
Generate a link to the Prefect UI to create a block.
Arguments
A block type slug. View available types with: prefect block type ls [required]
prefect block inspect
Displays details about a configured block.
Arguments
A Block slug: <BLOCK_TYPE_SLUG>/<BLOCK_NAME>
Options
A Block id to search for if no slug is given
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.
Arguments
A block type slug [required]
prefect block types delete
Delete an unprotected Block Type.
Arguments
A Block type slug [required]
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.
Arguments
A block type slug [required]
prefect block type delete
Delete an unprotected Block Type.
Arguments
A Block type slug [required]
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.
Arguments
A block slug. Formatted as ‘<BLOCK_TYPE_SLUG>/<BLOCK_NAME>’
Options
A block id.
prefect block create
Generate a link to the Prefect UI to create a block.
Arguments
A block type slug. View available types with: prefect block type ls [required]
prefect block inspect
Displays details about a configured block.
Arguments
A Block slug: <BLOCK_TYPE_SLUG>/<BLOCK_NAME>
Options
A Block id to search for if no slug is given
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.
Arguments
A block type slug [required]
prefect block types delete
Delete an unprotected Block Type.
Arguments
A Block type slug [required]
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.
Arguments
A block type slug [required]
prefect block type delete
Delete an unprotected Block Type.
Arguments
A Block type slug [required]