MCPcopy Create free account
hub / github.com/BeastyZ/ConvSearch-R1 / __init__

Method __init__

verl/verl/utils/py_functional.py:50–56  ·  view source on GitHub ↗
(self, dictionary, **kwargs)

Source from the content-addressed store, hash-verified

48class NestedNamespace(SimpleNamespace):
49
50 def __init__(self, dictionary, **kwargs):
51 super().__init__(**kwargs)
52 for key, value in dictionary.items():
53 if isinstance(value, dict):
54 self.__setattr__(key, NestedNamespace(value))
55 else:
56 self.__setattr__(key, value)

Callers

nothing calls this directly

Calls 1

NestedNamespaceClass · 0.85

Tested by

no test coverage detected