Fix version and nova_api_version data types declared in docstring

This commit is contained in:
Felipe Reyes
2023-08-25 12:44:30 -04:00
parent 1d42b643f4
commit 449164284f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
"""
+1 -1
View File
@@ -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
"""