Merge "Update python usage docs"

This commit is contained in:
Zuul
2018-04-04 01:21:33 +00:00
committed by Gerrit Code Review

View File

@@ -26,7 +26,8 @@ API::
>>> auth = loader.load_from_options(auth_url=AUTH_URL, >>> auth = loader.load_from_options(auth_url=AUTH_URL,
... username=USERNAME, ... username=USERNAME,
... password=PASSWORD, ... password=PASSWORD,
... project_id=PROJECT_ID) ... project_id=PROJECT_ID,
... user_domain_name=USER_DOMAIN_NAME)
>>> sess = session.Session(auth=auth) >>> sess = session.Session(auth=auth)
>>> cinder = client.Client(VERSION, session=sess) >>> cinder = client.Client(VERSION, session=sess)
>>> cinder.volumes.list() >>> cinder.volumes.list()