Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api_requests module refactoring #214

Merged
merged 4 commits into from
Jul 27, 2021
Merged

api_requests module refactoring #214

merged 4 commits into from
Jul 27, 2021

Conversation

JWCook
Copy link
Member

@JWCook JWCook commented Jul 26, 2021

This is partly to support #163 / #217. Closes #213 and #219.

  • Refactor api_requests module to use PreparedRequests
  • Improve request formatting in dry-run mode
  • Add an enable_logging() function to add formatted tracebacks and terminal colors with rich

…dRequest object, and move to api_requests module
@JWCook JWCook changed the title Refactor api_requests module a bit api_requests module refactoring Jul 26, 2021
@JWCook JWCook added docs Documentation-related issues enhancement New feature or request refactoring (Re)factoring, cleanup, tech debt, etc. labels Jul 27, 2021
@JWCook JWCook added this to the v0.15 milestone Jul 27, 2021
@JWCook JWCook merged commit 01beb88 into pyinat:main Jul 27, 2021
@JWCook JWCook deleted the refactor-api-requests branch July 27, 2021 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation-related issues enhancement New feature or request refactoring (Re)factoring, cleanup, tech debt, etc.
Projects
None yet
1 participant