From 9a3c49952910ac8498e1c60e333a1f8deb962de2 Mon Sep 17 00:00:00 2001 From: Brian Curtin Date: Wed, 5 Apr 2017 10:05:48 -0400 Subject: [PATCH] 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 --- doc/source/users/proxies/orchestration.rst | 3 +++ openstack/orchestration/v1/_proxy.py | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/source/users/proxies/orchestration.rst b/doc/source/users/proxies/orchestration.rst index 4ad00e1d0..e663e64ed 100644 --- a/doc/source/users/proxies/orchestration.rst +++ b/doc/source/users/proxies/orchestration.rst @@ -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 diff --git a/openstack/orchestration/v1/_proxy.py b/openstack/orchestration/v1/_proxy.py index 08bf503e8..fad49ccf5 100644 --- a/openstack/orchestration/v1/_proxy.py +++ b/openstack/orchestration/v1/_proxy.py @@ -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