Python CloudShellAPISession to support passing keyword args to the urllib3 object #1711
C1ARKGABLE
started this conversation in
Idea Box
Replies: 1 comment
-
Thanks Gabe, I think this is a very good suggestion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is the problem?
Currently, users of the
CloudShellAPISession
andCommonAPISession
are not able to interact with theurllib3.PoolManager
object.Why is it a problem?
Accessing
urllib3
's feature set will reduce your need to write and maintain custom code when handling retries, timeouts, and more.How do you solve the problem today?
We directly inject values to the
urllib3.PoolManager.connection_pool_kw
dictionary. This is dirty, but really effectiveHow would you ideally solve the problem?
and
How big is the problem (frequency of impact, who is impacted)
For anyone who uses
CloudShellAPISession
, directly accessing the functionality provided byurllib3
would be great for getting the most out of the tools that already exist.urllib3
is well tested and requires very minimal effortBeta Was this translation helpful? Give feedback.
All reactions