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

go back to requests to fix problems with httpx #159

Merged
merged 1 commit into from
Jul 30, 2024
Merged

go back to requests to fix problems with httpx #159

merged 1 commit into from
Jul 30, 2024

Conversation

Graeme22
Copy link
Contributor

Description

The new httpx dependency introduced in version 8.1 has broken any requests involving enum parameters, like tastytrade.order.InstrumentType.
This commit reverts back to requests which handled these better, but still uses a session for HTTP connection pooling.

Pre-merge checklist

  • Passing tests LOCALLY
  • New tests added (if applicable)

Please note that, in order to pass the tests, you'll need to set up your Tastytrade credentials as repository secrets on your local fork. Read more at CONTRIBUTING.md.

@Graeme22 Graeme22 merged commit 90204f5 into master Jul 30, 2024
1 check passed
@Graeme22 Graeme22 deleted the requests branch July 30, 2024 17:15
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.

1 participant