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
-
I made a package to patch httpx for using in pyodide, and you can try a live demo here.
The problem is, code inside
httpx
have imports tossl
, so I have to installssl
(in pyodide runtime, these modules not bundled by default). Butssl
is heavy and I only see type imports insidehttpx
withssl
, so I wonder can try this:Or
Beta Was this translation helpful? Give feedback.
All reactions