ancient-wolf-19325
07/30/2024, 3:25 PM200 responses with an empty body, but no changes are made to the project. Is this option supposed to be available at all? Also, I wonder why is it not possible to delete a project. Is it by design, or simply something that was never implemented? I have never worked with gRPC, but regarding updating projects, I have taken a quick look at https://github.com/flyteorg/flyte/blob/master/flyteidl/protos/flyteidl/admin/project.proto, shouldn't there be ProjectUpdateRequest defined? Running on version 1.11.
# Answer
Updating a project via the REST API generated by the gRPC gateway should be possible, but it seems there might be an issue with the implementation or usage. According to the admin_pb2_grpc.py file, the UpdateProject method is defined but not implemented, which could explain why your updates are not taking effect.
Regarding the deletion of projects, it is by design that projects cannot be deleted. Instead, projects can be archived. This is to avoid issues with dangling references that could lead to unintended behavior. Archiving a project effectively makes it inactive without permanently removing it, which can be undone if needed. This approach is discussed in issue #1619 and issue #569.
Would you like more details on how to properly archive a project or further information on the update functionality?
Sources:
- admin_pb2_grpc.py
- issue #1619
- issue #569
Slack Link
https://flyte-org.slack.com/archives/CP2HDHKE1/p1722353117.736229 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.