From ff2b226764402e7419f9a6f4e82ccfe4ba735f58 Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Tue, 3 Jan 2023 14:14:46 +0100 Subject: [PATCH] update comment --- src/core/pyros_django/agent/Agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/pyros_django/agent/Agent.py b/src/core/pyros_django/agent/Agent.py index 2ed9532..a5ab817 100755 --- a/src/core/pyros_django/agent/Agent.py +++ b/src/core/pyros_django/agent/Agent.py @@ -2762,14 +2762,14 @@ class Agent: ''' Return the list of all specific cmds, with their arguments type (if exists) - Each cmd is separated with a ';' and presented with this format : - 'cmd_name(arg1:type,arg2:type,arg3:type...)/tooltip' + 'cmd_name(arg1:type|arg2:type|arg3:type...)/tooltip' - tooltip is the command tooltip description text (it can be empty) - If cmd is (U)nimplemented, it will be returned as : 'cmd_name(U)/' => tooltip not added in this case - If cmd is (I)nvalid (misnamed), it will be returned as : 'cmd_name(I)/' => tooltip not added in this case - Ex: - 'do_eval(eval_str:str)/;get_status()/;get_state()/;get_mode()/;set_mode(mode:typing.Literal['IDLE', 'ROUTINE', 'ATTENTIVE'])/;do_stop(when:typing.Literal['asap', 'now', 'noprio'])/;do_exec_commands(what:typing.Literal['stop', 'resume', 'noprio'])/;do_stop_current(what:typing.Literal['cmd', 'routine', 'both'])/;do_flush_pending_commands()/;do_restart(when:typing.Literal['asap', 'now', 'noprio'])/;get_all_cmds(noprio:str)/;get_specific_cmds()/;do_cmd_unimplemented_and_declared(U)/;cmd_misnamed_and_declared(I)/;do_cmd_raising_some_exception()/;do_specific10(arg1:int,arg2:int,arg3:float,arg4:str,arg5:typing.Tuple[int, str, int],arg6:typing.List[int])/;do_specific30()/;do_cmd_with_long_exec_time()/A command that takes a long time to exec' + "do_eval(eval_str:str)/;get_status()/;get_state()/;get_mode()/;set_mode(mode:typing.Literal['IDLE', 'ROUTINE', 'ATTENTIVE'])/;do_stop(when:typing.Literal['asap', 'now', 'noprio'])/;do_exec_commands(what:typing.Literal['stop', 'resume', 'noprio'])/;do_stop_current(what:typing.Literal['cmd', 'routine', 'both'])/;do_flush_pending_commands()/;do_restart(when:typing.Literal['asap', 'now', 'noprio'])/;get_all_cmds(noprio:str)/;get_specific_cmds()/;do_cmd_unimplemented_and_declared(U)/;cmd_misnamed_and_declared(I)/;do_cmd_raising_some_exception()/;do_specific10(arg1:int|arg2:int|arg3:float|arg4:str|arg5:typing.Tuple[int, str, int]|arg6:typing.List[int])/;do_specific30()/;do_cmd_with_long_exec_time()/A command that takes a long time to exec" ''' cmds = "" -- libgit2 0.21.2