You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using pypowervm on an API that is behind a http proxy, it would be nice to be able to configure a proxy when creating an Session or Adapter object.
As a bad workaround for the moment I am using socket and sock configuration :
importsocketimportsocks# example for a socks5 proxy on localhost and port 8123socks.set_default_proxy(socks.SOCKS5, "localhost", 8123)
socket.socket=socks.socksocket
When using
pypowervm
on an API that is behind a http proxy, it would be nice to be able to configure a proxy when creating an Session or Adapter object.This could be set as an argument when creating
Session
object https://github.com/powervm/pypowervm/blob/master/pypowervm/adapter.py#L64-L68The text was updated successfully, but these errors were encountered: