Maybe move ssl imports into a TYPE_CHECKING block?
#3263
Unanswered
CNSeniorious000
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I made a package to patch httpx for using in pyodide, and you can try a live demo here.
The problem is, code inside
httpxhave imports tossl, so I have to installssl(in pyodide runtime, these modules not bundled by default). Butsslis heavy and I only see type imports insidehttpxwithssl, so I wonder can try this:Or
Beta Was this translation helpful? Give feedback.
All reactions