MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / populate

Method populate

lib/sqlalchemy/orm/descriptor_props.py:695–703  ·  view source on GitHub ↗
(dest_dict: Dict[str, Any])

Source from the content-addressed store, hash-verified

693 attrs = [prop.key for prop in self.props]
694
695 def populate(dest_dict: Dict[str, Any]) -> None:
696 dest_dict.update(
697 {
698 key: val
699 for key, val in zip(
700 attrs, get_values(dest_dict.pop(self.key))
701 )
702 }
703 )
704
705 return populate
706

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected