HydrologicEngineeringCenter / HydrologicEngineeringCenter/cwms-python

Add support for a body in the delete method

Open Beginner friendly
#272 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.