MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / __init__

Method __init__

utils.py:31–38  ·  view source on GitHub ↗
(self, shared_data, logger)

Source from the content-addressed store, hash-verified

29
30class WebUtils:
31 def __init__(self, shared_data, logger):
32 self.shared_data = shared_data
33 self.logger = logger
34 self.actions: List[Any] = [] # List that contains all actions
35 self.standalone_actions: List[Any] = [] # List that contains all standalone actions
36 self.actions_dir = getattr(shared_data, 'actions_dir', '')
37 self.actions_file = getattr(shared_data, 'actions_file', '')
38 self._actions_loaded = False
39
40 def load_actions(self):
41 """Load all actions from the actions file"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected