Closed zelong430 closed 3 years ago
pdpyrsa uses the Python requests library. I am unable to test right now, but I would suggest that you try environment variables, like explained in the documentation. In theory, it should work just fine.
Hi Thanks for the reply,
I was able to get it work by something like:
session = pdpyras.EventsAPISession(CONFIG['our-pager-duty-key']) session.proxies.update(PD_PROXY)
Our enterprise network require to use a proxy to access https://api.pagerduty.com. I can't find a way to set the proxy for EventAPISession. Can someone here provide some helps our point me to the correct instructions/docs?