-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
What is the task about?
The status in data[result] is no longer relevant to the user.
We can remove it from the response JSON body.
However it requires first the following tasks
- Task: Simplify the task result checks in CLI repository-service-tuf-cli#508
- Task: Simplify the task result checks in Functional Tests repository-service-tuf#622
In the API the change is very simple.
From
repository-service-tuf-api/repository_service_tuf_api/tasks.py
Lines 58 to 60 in c86649e
| status: bool = Field( | |
| description="Task result status. `True` Success | `False` Failure" | |
| ) |
To
status: bool = Field(
description="Task result status. `True` Success | `False` Failure" , exclude=True
) Parent feature
No response
References
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels