MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / create_snapshot

Method create_snapshot

render_machine/render_context.py:114–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

112 self.machine.dispatch(triggers.HANDLE_ERROR)
113
114 def create_snapshot(self) -> RenderContextSnapshot:
115 return RenderContextSnapshot(
116 frid_context=deepcopy(self.frid_context) if self.frid_context else None,
117 conformance_tests_running_context=(
118 deepcopy(self.conformance_tests_running_context) if self.conformance_tests_running_context else None
119 ),
120 unit_tests_running_context=(
121 deepcopy(self.unit_tests_running_context) if self.unit_tests_running_context else None
122 ),
123 script_execution_history=deepcopy(self.script_execution_history),
124 module_name=self.module_name,
125 )
126
127 def get_required_modules_functionalities(self):
128 required_modules_functionalities = {}

Callers 1

runMethod · 0.80

Calls 1

Tested by

no test coverage detected