prefect
prefect copied to clipboard
Remove `type` from infrastructure blocks
First check
- [X] I added a descriptive title to this issue.
- [X] I used the GitHub search to find a similar request and didn't find it.
- [X] I searched the Prefect documentation for this feature.
Prefect Version
2.x
Describe the proposed behavior
The type
field on infrastructure blocks is removed and the block type slug is used in it's place.
Describe the current behavior
The type
field on infrastructure blocks is unnecessary with the addition of block type slugs. The type
currently matches the block type slug (e.g. docker-container for the DockerContainer
block) and the block type slug can be used instead to remove an unnecessary field from the block document creation form for those block types.
Example Use
No response
Additional context
No response
This issue is stale because it has been open 30 days with no activity. To keep this issue open remove stale label or comment.