martimors / martimors/python-oauth-encrypt
Return response object from client
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Instead of raising for status and returning json object, just return the response object in the `get` method.
This will mimic the behaviour of the client in https://requests-oauthlib.readthedocs.io/en/latest/oauth2_workflow.html
https://github.com/dingobar/python-oauth-encrypt/blob/bda9270e3b2328b38cb65316e8a947bd7d941578/oauth_encrypt/client.py#L63
Contributor guide
No contributing guide indexed for this repository
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
Start in oauth_encrypt/client.py around line 63 and inspect the client’s get method. Change its result to match the requested response-object behavior instead of the current status-raising and JSON-returning behavior, then verify that the method’s observable result matches the requests-oauthlib workflow described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, authentication
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100