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
Hi,
currently box-python-sdk is in "stable" state, what means that bugs will be fixed but there is no ongoing development of new features. So as long as this can be achieved by overriding the DefaultNetwork.request method we won't implement proposed enhancement.
Our new box Python SDK can be found here: https://github.com/box/box-python-sdk-gen. We are in the process of transitioning to fully generated SDK.
But going back to your issue, there is also another way to achieve this. You could add extra_network_parameters property to any API method and properties from there would be passed directly to request library call. For example to set a timeout for a call you can call: item.update_info(data=data, extra_network_parameters={'timeout': 1}).
I know this is not ideal, because you have to do it for each call, but maybe you can us somehow.
Best, @lukaszsocha2
Currently, in the Box SDK, configuring timeout, proxy, and SSL verify requires overriding the DefaultNetwork.request method.
Shouldn't these configurations be parameterised to allow straightforward setup without overriding?
The text was updated successfully, but these errors were encountered: