Open ak9999 opened 1 year ago
I ended up setting the following environment variables:
When I set those environment variables, then the code in the set_proxy
function runs, but if I use environment variables, then I don't need the function... This isn't making sense to me. Shouldn't set_proxy
, as it is written, be running no matter what, and passing the proxies
and verify
values along with the request?
I want to use the function to set these details because I do not want to use environment variables. Can anyone help me understand?
I am trying to execute a query against SharePoint Online using an app-only context.
Below I am using some code, following the example here: https://github.com/vgrem/Office365-REST-Python-Client/blob/master/examples/sharepoint/connect_and_set_proxy.py
Instead of getting the title, I end up with the following exceptions in my traceback:
I understand that examples were given, but they aren't working for me in my scenario, and it seems to me like the code in
set_proxy
is never being executed.