diff options
author | Matthew Oliver <matt@oliver.net.au> | 2016-10-29 11:36:27 +0200 |
---|---|---|
committer | Matthew Oliver <matt@oliver.net.au> | 2016-10-29 11:43:02 +0200 |
commit | 5296daad83792b29a3eb61516f87b97dfb990e4d (patch) | |
tree | 44b15a926a4372cef734bc8086e6a4c6bf5864b3 /doc | |
parent | 481f74caf1ffc649128bb8db84ac9104304420a9 (diff) | |
download | python-swiftclient-5296daad83792b29a3eb61516f87b97dfb990e4d.tar.gz |
Correct the example keystone session code imports
This is a follow up to patch Ia3fd947ff619c11ff0ce474897533dcf7b49d9b3.
One of the imports for the keystone session example was wrong. It was
trying to import v3 like:
from keystoneauth1 import v3
Whereas in my testing v3 actually exists deeper under identity:
from keystoneauth1.identity import v3
This patch fixes this import in the example documentation.
Change-Id: Ie31144fe65116d20a36b83a96079a3804bf55f29
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/client-api.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/client-api.rst b/doc/source/client-api.rst index ff88d7d..57f49cb 100644 --- a/doc/source/client-api.rst +++ b/doc/source/client-api.rst @@ -24,7 +24,7 @@ Keystone Session .. code-block:: python from keystoneauth1 import session - from keystoneauth1 import v3 + from keystoneauth1.identity import v3 # Create a password auth plugin auth = v3.Password(auth_url='http://127.0.0.1:5000/v3/', |