MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / add_properties

Method add_properties

lib/sqlalchemy/orm/mapper.py:2436–2442  ·  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

2434 self.configured = True
2435
2436 def add_properties(self, dict_of_properties):
2437 """Add the given dictionary of properties to this mapper,
2438 using `add_property`.
2439
2440 """
2441 for key, value in dict_of_properties.items():
2442 self.add_property(key, value)
2443
2444 def add_property(
2445 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