Merge "Fix Quick-start example syntax."
This commit is contained in:
commit
2a6549a20a
@ -23,7 +23,7 @@ Python API
|
|||||||
Quick-start Example::
|
Quick-start Example::
|
||||||
>>> from ironicclient import client
|
>>> from ironicclient import client
|
||||||
>>>
|
>>>
|
||||||
>>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155'
|
>>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155',
|
||||||
>>> 'ironic_url': 'http://ironic.example.org:6385/'}
|
>>> 'ironic_url': 'http://ironic.example.org:6385/'}
|
||||||
>>> ironic = client.get_client(1, **kwargs)
|
>>> ironic = client.get_client(1, **kwargs)
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ To create the client, you can use the API like so::
|
|||||||
|
|
||||||
>>> from ironicclient import client
|
>>> from ironicclient import client
|
||||||
>>>
|
>>>
|
||||||
>>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155'
|
>>> kwargs = {'os_auth_token': '3bcc3d3a03f44e3d8377f9247b0ad155',
|
||||||
>>> 'ironic_url': 'http://ironic.example.org:6385/'}
|
>>> 'ironic_url': 'http://ironic.example.org:6385/'}
|
||||||
>>> ironic = client.get_client(1, **kwargs)
|
>>> ironic = client.get_client(1, **kwargs)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user