PrefectHQ / prefect

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
https://prefect.io
Apache License 2.0
15.56k stars 1.52k forks source link

Remove `type` from infrastructure blocks #6479

Closed desertaxle closed 2 weeks ago

desertaxle commented 1 year ago

First check

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

github-actions[bot] commented 1 year ago

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

desertaxle commented 2 weeks ago

Infrastructure blocks have been removed in the 3.0 RC and will be removed in 2.x once the deprecation period is.