Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefect Python client does not support flow deletion #16307

Closed
paulusaptus opened this issue Dec 10, 2024 · 0 comments · Fixed by #16308 · May be fixed by #16311
Closed

Prefect Python client does not support flow deletion #16307

paulusaptus opened this issue Dec 10, 2024 · 0 comments · Fixed by #16308 · May be fixed by #16311
Labels
bug Something isn't working

Comments

@paulusaptus
Copy link
Contributor

Bug summary

The Prefect REST API supports flow removal via DELETE HTTP method on the /api/flows/{flow_id} endpoint. However, the Python Prefect client lacks this functionality, making it impossible to remove the flow without patching the client or calling the Prefect REST API directly.

Version info

Version:             3.1.6.dev7+0.g8fd92fe5e6.dirty
API version:         0.8.4
Python version:      3.11.11
Git commit:          8fd92fe5
Built:               Sun, Dec 8, 2024 8:00 PM
OS/Arch:             darwin/arm64
Profile:             default
Server type:         server
Pydantic version:    2.10.3

Additional context

The missing functionality affects both Prefect 2 and 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant