MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / store_python_operator_instance

Function store_python_operator_instance

src/python/lfs/py_ui.cpp:322–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320 }
321
322 void store_python_operator_instance(const std::string& id, nb::object instance) {
323 std::lock_guard lock(g_python_operator_mutex);
324 g_python_operator_instances[id] = std::move(instance);
325 }
326
327 void remove_python_operator_instance(const std::string& id) {
328 std::lock_guard lock(g_python_operator_mutex);

Callers 1

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected