Add get_stack_* methods to documentation

Recent get_stack_* methods were left out of the documentation. This also
adjusts a doc warning about indentation being off.

Change-Id: I5bde59cfb3da4508300f5535e3c13c0265b7460f
This commit is contained in:
Brian Curtin 2017-04-05 10:05:48 -04:00
parent b3d69f5d1b
commit 9a3c499529
2 changed files with 7 additions and 3 deletions

View File

@ -24,6 +24,9 @@ Stack Operations
.. automethod:: openstack.orchestration.v1._proxy.Proxy.delete_stack
.. automethod:: openstack.orchestration.v1._proxy.Proxy.find_stack
.. automethod:: openstack.orchestration.v1._proxy.Proxy.get_stack
.. automethod:: openstack.orchestration.v1._proxy.Proxy.get_stack_environment
.. automethod:: openstack.orchestration.v1._proxy.Proxy.get_stack_files
.. automethod:: openstack.orchestration.v1._proxy.Proxy.get_stack_template
.. automethod:: openstack.orchestration.v1._proxy.Proxy.stacks
.. automethod:: openstack.orchestration.v1._proxy.Proxy.validate_template
.. automethod:: openstack.orchestration.v1._proxy.Proxy.resources

View File

@ -153,9 +153,10 @@ class Proxy(proxy2.BaseProxy):
:class:`~openstack.orchestration.v1.stack.Stack`
:returns: One object of
:class:`~openstack.orchestration.v1.stack_environment.StackEnvironment`
:raises: :class:`~openstack.exceptions.ResourceNotFound`
when no resource can be found.
:class:`~openstack.orchestration.v1.stack_environment.\
StackEnvironment`
:raises: :class:`~openstack.exceptions.ResourceNotFound` when no
resource can be found.
"""
if isinstance(stack, _stack.Stack):
obj = stack