Skip to content

Return headers on request exception#23

Merged
Eric Hibbs (flowstate) merged 7 commits intomainfrom
eric/return-headers-on-request-exception
Feb 27, 2025
Merged

Return headers on request exception#23
Eric Hibbs (flowstate) merged 7 commits intomainfrom
eric/return-headers-on-request-exception

Conversation

@flowstate
Copy link
Copy Markdown
Contributor

  • Returning the headers, request path, and original status code on do_request exceptions
  • Bandaid for an issue with the get repos API where nextPage was 1 even if you already got all results
  • Fixed get repos issue where not passing kwargs would result in an empty object being returned

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 26, 2025

🚀 Preview package published!

Install with:

pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple socket-sdk-python==2.0.8.dev237

Copy link
Copy Markdown
Contributor

@dacoburn Douglas (dacoburn) left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets chat about the format we're returning API responses in.

@flowstate Eric Hibbs (flowstate) merged commit fc24237 into main Feb 27, 2025
6 checks passed
@flowstate Eric Hibbs (flowstate) deleted the eric/return-headers-on-request-exception branch February 27, 2025 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants