MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / add_properties

Method add_properties

lib/sqlalchemy/orm/mapper.py:2363–2369  ·  view source on GitHub ↗

Add the given dictionary of properties to this mapper, using `add_property`.

(self, dict_of_properties)

Source from the content-addressed store, hash-verified

2361 self.configured = True
2362
2363 def add_properties(self, dict_of_properties):
2364 """Add the given dictionary of properties to this mapper,
2365 using `add_property`.
2366
2367 """
2368 for key, value in dict_of_properties.items():
2369 self.add_property(key, value)
2370
2371 def add_property(
2372 self, key: str, prop: Union[Column[Any], MapperProperty[Any]]

Callers

nothing calls this directly

Calls 2

add_propertyMethod · 0.95
itemsMethod · 0.45

Tested by

no test coverage detected