diff --git a/mistral/actions/std_actions.py b/mistral/actions/std_actions.py index 4002717dc..da72576e5 100644 --- a/mistral/actions/std_actions.py +++ b/mistral/actions/std_actions.py @@ -110,7 +110,7 @@ class FailAction(actions.Action): class HTTPAction(actions.Action): - """Constructs an HTTP action. + """HTTP action. :param url: URL for the new HTTP request. :param method: (optional, 'GET' by default) method for the new HTTP diff --git a/mistral/rpc/clients.py b/mistral/rpc/clients.py index 63a5f347e..cb831a924 100644 --- a/mistral/rpc/clients.py +++ b/mistral/rpc/clients.py @@ -168,8 +168,8 @@ class EngineClient(eng.Engine): """Conveys action result to Mistral Engine. This method should be used by clients of Mistral Engine to update - state of an action execution once action has executed. One of the - clients of this method is Mistral REST API server that receives + the state of an action execution once action has executed. One of + the clients of this method is Mistral REST API server that receives action result from the outside action handlers. Note: calling this method serves an event notifying Mistral that @@ -204,7 +204,7 @@ class EngineClient(eng.Engine): """Conveys update of action state to Mistral Engine. This method should be used by clients of Mistral Engine to update - state of an action execution once action has executed. + the state of an action execution once action has executed. Note: calling this method serves an event notifying Mistral that it may need to change the state of the parent task and workflow. Use diff --git a/mistral/tests/unit/services/test_action_manager.py b/mistral/tests/unit/services/test_action_manager.py index bda0ff343..2996df933 100644 --- a/mistral/tests/unit/services/test_action_manager.py +++ b/mistral/tests/unit/services/test_action_manager.py @@ -41,7 +41,7 @@ class ActionManagerTest(base.DbTestCase): std_http = db_api.get_action_definition("std.http") std_echo = db_api.get_action_definition("std.echo") - self.assertIn("Constructs an HTTP action", std_http.description) + self.assertIn("HTTP action", std_http.description) self.assertIn("param body: (optional) Dictionary, bytes", std_http.description)