MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / update

Method update

lib/sqlalchemy/engine/reflection.py:2094–2101  ·  view source on GitHub ↗
(self, other: _ReflectionInfo)

Source from the content-addressed store, hash-verified

2092 unreflectable: Dict[TableKey, exc.UnreflectableTableError]
2093
2094 def update(self, other: _ReflectionInfo) -> None:
2095 for k, v in self.__dict__.items():
2096 ov = getattr(other, k)
2097 if ov is not None:
2098 if v is None:
2099 setattr(self, k, ov)
2100 else:
2101 v.update(ov)

Callers 11

update_query_pairsMethod · 0.45
engine_from_configFunction · 0.45
_reflect_columnMethod · 0.45
_reflect_pkMethod · 0.45
_get_reflection_infoMethod · 0.45
_reduceMethod · 0.45
__init__Method · 0.45
create_connect_argsMethod · 0.45
_init_compiledMethod · 0.45

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected