Improve the from_config doc
Change-Id: I93ef96a0c2e1f26f11e458cdb7c028873e862ab5
This commit is contained in:
@@ -2,6 +2,10 @@ Connection
|
||||
==========
|
||||
.. automodule:: openstack.connection
|
||||
|
||||
from_config
|
||||
-----------
|
||||
.. autofunction:: openstack.connection.from_config
|
||||
|
||||
Connection Object
|
||||
-----------------
|
||||
|
||||
|
@@ -78,7 +78,9 @@ def from_config(opts):
|
||||
Create a :class:`~openstack.connection.Connection` from a configuration
|
||||
similar to a os-client-config CloudConfig.
|
||||
|
||||
:param opts: Options class like the argparse Namespace object.
|
||||
:param opts: An options class like the :class:`~argparse.Namespace` class.
|
||||
|
||||
:rtype: :class:`~openstack.connection.Connection`
|
||||
"""
|
||||
|
||||
# TODO(thowe): I proposed that service name defaults to None in OCC
|
||||
|
Reference in New Issue
Block a user