Module ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword ListLoad Str Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Dict Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Str Str Str Num NameLoad ListLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Num Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Dict Str Num keyword Str keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Dict Str Str Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword TupleLoad Str Num Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword TupleLoad Str NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Str Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Dict AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpSub AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Num NameLoad decorator_list decorator_list
N/A oslo_utils uuidutils taskflow.engines.action_engine executor taskflow.engines.worker_based protocol pr taskflow exceptions excp taskflow test taskflow.test mock taskflow.tests utils taskflow.types failure TestProtocolValidation N/A N/A test TestCase N/A test_send_notify N/A N/A self N/A N/A N/A msg N/A N/A pr Notify N/A N/A N/A N/A pr Notify validate N/A N/A msg to_dict False N/A test_send_notify_invalid N/A N/A self N/A N/A N/A msg N/A all your base are belong to us N/A N/A N/A self assertRaises N/A excp InvalidFormat N/A N/A pr Notify validate msg False N/A test_reply_notify N/A N/A self N/A N/A N/A msg N/A N/A pr Notify topic bob tasks N/A a b c N/A N/A N/A N/A pr Notify validate N/A N/A msg to_dict True N/A test_reply_notify_invalid N/A N/A self N/A N/A N/A msg N/A topic tasks N/A not yours N/A N/A N/A self assertRaises N/A excp InvalidFormat N/A N/A pr Notify validate msg True N/A test_request N/A N/A self N/A N/A N/A request N/A N/A pr Request N/A N/A utils DummyTask hi N/A N/A uuidutils generate_uuid N/A pr EXECUTE N/A 1.0 N/A N/A N/A N/A pr Request validate N/A N/A request to_dict N/A test_request_invalid N/A N/A self N/A N/A N/A msg N/A task_name task_cls arguments 1 False N/A N/A N/A N/A self assertRaises N/A excp InvalidFormat N/A N/A pr Request validate msg N/A test_request_invalid_action N/A N/A self N/A N/A N/A request N/A N/A pr Request N/A N/A utils DummyTask hi N/A N/A uuidutils generate_uuid N/A pr EXECUTE N/A 1.0 N/A request N/A N/A request to_dict N/A N/A request N/A action NOTHING N/A N/A N/A self assertRaises N/A excp InvalidFormat N/A N/A pr Request validate request N/A test_response_progress N/A N/A self N/A N/A N/A msg N/A N/A pr Response N/A pr EVENT details N/A progress 0.5 event_type blah N/A N/A N/A N/A pr Response validate N/A N/A msg to_dict N/A test_response_completion N/A N/A self N/A N/A N/A msg N/A N/A pr Response N/A pr SUCCESS result 1 N/A N/A N/A N/A pr Response validate N/A N/A msg to_dict N/A test_response_mixed_invalid N/A N/A self N/A N/A N/A msg N/A N/A pr Response N/A pr EVENT details N/A progress 0.5 event_type blah result 1 N/A N/A N/A self assertRaises N/A excp InvalidFormat N/A N/A pr Response validate msg N/A test_response_bad_state N/A N/A self N/A N/A N/A msg N/A N/A pr Response STUFF N/A N/A N/A self assertRaises N/A excp InvalidFormat N/A N/A pr Response validate msg N/A N/A TestProtocol N/A N/A test TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestProtocol self setUp N/A N/A self task N/A N/A utils DummyTask N/A N/A self task_uuid task-uuid N/A N/A self task_action execute N/A N/A self task_args N/A a a N/A N/A self timeout 60 N/A request N/A N/A self N/A kwargs N/A N/A request_kwargs N/A dict task N/A self task uuid N/A self task_uuid action N/A self task_action arguments N/A self task_args timeout N/A self timeout N/A N/A N/A request_kwargs update kwargs N/A N/A N/A pr Request request_kwargs N/A request_to_dict N/A N/A self N/A kwargs N/A N/A to_dict N/A dict task_cls N/A N/A self task name task_name N/A N/A self task name task_version N/A N/A self task version action N/A self task_action arguments N/A self task_args N/A N/A N/A to_dict update kwargs N/A to_dict N/A test_request_transitions N/A N/A self N/A N/A N/A request N/A N/A self request N/A N/A N/A self assertEqual N/A pr WAITING N/A request current_state N/A N/A N/A self assertIn N/A request current_state N/A pr WAITING_STATES N/A N/A N/A self assertRaises N/A excp InvalidState N/A request transition N/A pr SUCCESS N/A N/A N/A self assertFalse N/A N/A request transition N/A pr WAITING N/A N/A N/A self assertTrue N/A N/A request transition N/A pr PENDING N/A N/A N/A self assertTrue N/A N/A request transition N/A pr RUNNING N/A N/A N/A self assertTrue N/A N/A request transition N/A pr SUCCESS N/A s N/A N/A pr PENDING N/A pr WAITING N/A N/A N/A N/A self assertRaises N/A excp InvalidState N/A request transition s N/A test_creation N/A N/A self N/A N/A N/A request N/A N/A self request N/A N/A N/A self assertEqual N/A self task_uuid N/A request uuid N/A N/A N/A self assertEqual N/A self task N/A request task N/A N/A N/A self assertFalse N/A N/A N/A request future done N/A test_to_dict_default N/A N/A self N/A N/A N/A request N/A N/A self request N/A N/A N/A self assertEqual N/A N/A self request_to_dict N/A N/A request to_dict N/A test_to_dict_with_result N/A N/A self N/A N/A N/A request N/A N/A self request result 333 N/A N/A N/A self assertEqual N/A N/A self request_to_dict result N/A success 333 N/A N/A request to_dict N/A test_to_dict_with_result_none N/A N/A self N/A N/A N/A request N/A N/A self request result None N/A N/A N/A self assertEqual N/A N/A self request_to_dict result N/A success None N/A N/A request to_dict N/A test_to_dict_with_result_failure N/A N/A self N/A N/A N/A a_failure N/A N/A N/A failure Failure from_exception N/A RuntimeError Woot! N/A expected N/A N/A self request_to_dict result N/A failure N/A N/A a_failure to_dict N/A request N/A N/A self request result a_failure N/A N/A N/A self assertEqual expected N/A N/A request to_dict N/A test_to_dict_with_failures N/A N/A self N/A N/A N/A a_failure N/A N/A N/A failure Failure from_exception N/A RuntimeError Woot! N/A request N/A N/A self request failures N/A N/A N/A self task name a_failure N/A expected N/A N/A self request_to_dict failures N/A N/A N/A self task name N/A N/A a_failure to_dict N/A N/A N/A self assertEqual expected N/A N/A request to_dict N/A test_to_dict_with_invalid_json_failures N/A N/A self N/A N/A N/A exc N/A RuntimeError N/A Exception I am not valid JSON N/A a_failure N/A N/A N/A failure Failure from_exception exc N/A request N/A N/A self request failures N/A N/A N/A self task name a_failure N/A expected N/A N/A self request_to_dict failures N/A N/A N/A self task name N/A N/A a_failure to_dict include_args False N/A N/A N/A self assertEqual expected N/A N/A request to_dict N/A test_pending_not_expired N/A N/A self now N/A N/A N/A N/A now return_value 0 N/A request N/A N/A self request N/A N/A now return_value N/A N/A self timeout 1 N/A N/A N/A self assertFalse N/A request expired N/A N/A N/A mock patch oslo_utils.timeutils.now test_pending_expired N/A N/A self now N/A N/A N/A N/A now return_value 0 N/A request N/A N/A self request N/A N/A now return_value N/A N/A self timeout 1 N/A N/A N/A self assertTrue N/A request expired N/A N/A N/A mock patch oslo_utils.timeutils.now test_running_not_expired N/A N/A self now N/A N/A N/A N/A now return_value 0 N/A request N/A N/A self request N/A N/A N/A request transition N/A pr PENDING N/A N/A N/A request transition N/A pr RUNNING N/A N/A now return_value N/A N/A self timeout 1 N/A N/A N/A self assertFalse N/A request expired N/A N/A N/A mock patch oslo_utils.timeutils.now test_set_result N/A N/A self N/A N/A N/A request N/A N/A self request N/A N/A N/A request set_result 111 N/A result N/A N/A N/A request future result N/A N/A N/A self assertEqual N/A N/A executor EXECUTED 111 result N/A N/A