HydrologicEngineeringCenter / HydrologicEngineeringCenter/cwms-python
Add support for a body in the delete method
Open
Beginner friendly
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 16
- Forks
- 11
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 8
Description
Make it so the existing delete method can take a body payload.
I.e. the users/roles endpoint takes a payload of which roles to remove on DELETE
From
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the existing delete method in the cwms-python client and compare it with the users/roles endpoint behavior described in the linked pull request. Make the method accept and send a body payload for DELETE requests, then verify that the roles-removal request carries its payload correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100