diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-10-12 23:49:46 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-10-12 23:49:46 +0000 |
commit | 535bcb7ba835e2434e079d4ba35ef81141e320e3 (patch) | |
tree | 1f81e597b497ac067a605479328de929792fa2bf | |
parent | ba340b759fdca66d2cff8c8d86bf818cfe0af99e (diff) | |
parent | 1653120803e76cf02c2f35d3bdb67e6bb1848817 (diff) | |
download | os-client-config-535bcb7ba835e2434e079d4ba35ef81141e320e3.tar.gz |
Merge "Add setter for session constructor"
-rw-r--r-- | os_client_config/cloud_config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os_client_config/cloud_config.py b/os_client_config/cloud_config.py index ae5da3a..80cd266 100644 --- a/os_client_config/cloud_config.py +++ b/os_client_config/cloud_config.py @@ -102,6 +102,10 @@ class CloudConfig(object): def __ne__(self, other): return not self == other + def set_session_constructor(self, session_constructor): + """Sets the Session constructor.""" + self._session_constructor = session_constructor + def get_requests_verify_args(self): """Return the verify and cert values for the requests library.""" if self.config['verify'] and self.config['cacert']: |