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

Method __init__

multi_interface.py:79–87  ·  view source on GitHub ↗
(self, shared_data)

Source from the content-addressed store, hash-verified

77 return
78
79 with self._lock:
80 target_context = self.shared_data.storage_manager.get_context_snapshot(ssid)
81 self._override_stack.append(target_context)
82 self._apply_context(target_context)
83
84 try:
85 yield target_context
86 finally:
87 with self._lock:
88 if self._override_stack:
89 self._override_stack.pop()
90 # Back to the enclosing override if nested, otherwise to the

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected