MCPcopy
hub / github.com/langroid/langroid / set_global

Function set_global

langroid/utils/configuration.py:85–89  ·  view source on GitHub ↗

Update the global settings object.

(key_vals: Settings)

Source from the content-addressed store, hash-verified

83
84
85def set_global(key_vals: Settings) -> None:
86 """
87 Update the global settings object.
88 """
89 _global_settings.__dict__.update(key_vals.__dict__)
90
91
92@contextmanager

Calls 1

updateMethod · 0.45

Used in the wild real call sites across dependent graphs

searching dependent graphs…