Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@richardm-stripe
Copy link
Contributor

@richardm-stripe richardm-stripe commented Feb 10, 2024

Adds more type annotations to _http_client.py.

Mostly just making types narrower / describe what exists. I was really hoping to be able to make the type for streaming endpoints more specific than Any but, because stripe.default_http_client can change dynamically, you really can't do much better.

@richardm-stripe richardm-stripe marked this pull request as ready for review February 13, 2024 20:42
@richardm-stripe richardm-stripe requested review from a team and helenye-stripe and removed request for a team February 13, 2024 20:45
@richardm-stripe richardm-stripe enabled auto-merge (squash) February 13, 2024 21:28
@richardm-stripe richardm-stripe merged commit 6b0d81e into master Feb 13, 2024
@xavdid-stripe xavdid-stripe deleted the richardm-improve-http-client-types branch May 10, 2024 03:31
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.

3 participants