MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / User

Class User

test/orm/test_deprecations.py:763–772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761 assert_col = []
762
763 class User(ComparableEntity):
764 def _get_name(self):
765 assert_col.append(("get", self._name))
766 return self._name
767
768 def _set_name(self, name):
769 assert_col.append(("set", name))
770 self._name = name
771
772 name = property(_get_name, _set_name)
773
774 m = self.mapper_registry.map_imperatively(User, users)
775

Callers 8

_option_test_fixtureMethod · 0.70
test_with_transientMethod · 0.70
_fixtureMethod · 0.70
test_o2mMethod · 0.70
test_m2oMethod · 0.70

Calls

no outgoing calls

Tested by 8

_option_test_fixtureMethod · 0.56
test_with_transientMethod · 0.56
_fixtureMethod · 0.56
test_o2mMethod · 0.56
test_m2oMethod · 0.56