diff options
Diffstat (limited to 'keystoneclient/v2_0')
-rw-r--r-- | keystoneclient/v2_0/__init__.py | 1 | ||||
-rw-r--r-- | keystoneclient/v2_0/client.py | 16 |
2 files changed, 9 insertions, 8 deletions
diff --git a/keystoneclient/v2_0/__init__.py b/keystoneclient/v2_0/__init__.py index 44ad28e..00ff0c1 100644 --- a/keystoneclient/v2_0/__init__.py +++ b/keystoneclient/v2_0/__init__.py @@ -1 +1,2 @@ +# flake8: noqa from keystoneclient.v2_0.client import Client diff --git a/keystoneclient/v2_0/client.py b/keystoneclient/v2_0/client.py index 03cb8f2..788bfa7 100644 --- a/keystoneclient/v2_0/client.py +++ b/keystoneclient/v2_0/client.py @@ -80,9 +80,9 @@ class Client(client.HTTPClient): >>> from keystoneclient.v2_0 import client >>> keystone = client.Client(username=USER, - password=PASS, - tenant_name=TENANT_NAME, - auth_url=KEYSTONE_URL) + ... password=PASS, + ... tenant_name=TENANT_NAME, + ... auth_url=KEYSTONE_URL) >>> keystone.tenants.list() ... >>> user = keystone.users.get(USER_ID) @@ -95,9 +95,9 @@ class Client(client.HTTPClient): >>> from keystoneclient.v2_0 import client >>> keystone = client.Client(username=USER, - password=PASS, - tenant_name=TENANT_NAME, - auth_url=KEYSTONE_URL) + ... password=PASS, + ... tenant_name=TENANT_NAME, + ... auth_url=KEYSTONE_URL) >>> auth_ref = keystone.auth_ref >>> # pickle or whatever you like here >>> new_client = client.Client(auth_ref=auth_ref) @@ -111,8 +111,8 @@ class Client(client.HTTPClient): >>> from keystoneclient.v2_0 import client >>> admin_client = client.Client( - token='12345secret7890', - endpoint='http://localhost:35357/v2.0') + ... token='12345secret7890', + ... endpoint='http://localhost:35357/v2.0') >>> keystone.tenants.list() """ |