MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __set__

Method __set__

lib/sqlalchemy/orm/attributes.py:545–548  ·  view source on GitHub ↗
(self, instance: object, value: Any)

Source from the content-addressed store, hash-verified

543 return super().__doc__
544
545 def __set__(self, instance: object, value: Any) -> None:
546 self.impl.set(
547 instance_state(instance), instance_dict(instance), value, None
548 )
549
550 def __delete__(self, instance: object) -> None:
551 self.impl.delete(instance_state(instance), instance_dict(instance))

Callers

nothing calls this directly

Calls 3

instance_stateFunction · 0.85
instance_dictFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected