swimlane.core.wrappedsession module

class swimlane.core.wrappedsession.WrappedSession[source]

Bases: Session

A wrapper for requests.Session to override ‘verify’ property, ignoring REQUESTS_CA_BUNDLE environment variable.

This is a workaround for https://github.com/kennethreitz/requests/issues/3829 (will be fixed in requests 3.0.0)

merge_environment_settings(url, proxies, stream, verify, *args, **kwargs)[source]

Check the environment and merge it with some settings.

Return type:

dict