Fix version and nova_api_version data types declared in docstring
This commit is contained in:
@@ -130,7 +130,7 @@ def launch_instance(instance_key, use_boot_volume=False, vm_name=None,
|
||||
:param host: Requested host to create servers
|
||||
:type host: str
|
||||
:param nova_api_version: Nova API version to use
|
||||
:type nova_api_version: str
|
||||
:type nova_api_version: str | None
|
||||
:returns: the created instance
|
||||
:rtype: novaclient.Server
|
||||
"""
|
||||
|
||||
@@ -373,7 +373,7 @@ def get_nova_session_client(session, version=None):
|
||||
:param session: Keystone session object
|
||||
:type session: keystoneauth1.session.Session object
|
||||
:param version: Version of client to request.
|
||||
:type version: float
|
||||
:type version: float | str | None
|
||||
:returns: Authenticated novaclient
|
||||
:rtype: novaclient.Client object
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user