MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / set

Method set

lib/sqlalchemy/orm/path_registry.py:161–163  ·  view source on GitHub ↗
(self, attributes: Dict[Any, Any], key: Any, value: Any)

Source from the content-addressed store, hash-verified

159 return self.path[index] # type: ignore
160
161 def set(self, attributes: Dict[Any, Any], key: Any, value: Any) -> None:
162 log.debug("set '%s' on path '%s' to '%s'", key, self, value)
163 attributes[(key, self.natural_path)] = value
164
165 def setdefault(
166 self, attributes: Dict[Any, Any], key: Any, value: Any

Callers

nothing calls this directly

Calls 1

debugMethod · 0.80

Tested by

no test coverage detected