MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _new_value

Method _new_value

examples/versioned_rows/versioned_map.py:96–98  ·  view source on GitHub ↗

Create a new entry for usage in the 'elements' dictionary.

(name, value)

Source from the content-addressed store, hash-verified

94 """
95
96 def _new_value(name, value):
97 """Create a new entry for usage in the 'elements' dictionary."""
98 return ConfigValueAssociation(ConfigValue(name, value))
99
100 data = association_proxy("elements", "value", creator=_new_value)
101 """Proxy to the 'value' elements of each related ConfigValue,

Callers

nothing calls this directly

Calls 2

ConfigValueClass · 0.85

Tested by

no test coverage detected