prefect icon indicating copy to clipboard operation
prefect copied to clipboard

Remove `type` from infrastructure blocks

Open desertaxle opened this issue 2 years ago • 1 comments

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

desertaxle avatar Aug 19 '22 14:08 desertaxle

This issue is stale because it has been open 30 days with no activity. To keep this issue open remove stale label or comment.

github-actions[bot] avatar Sep 19 '22 02:09 github-actions[bot]