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

Class User

test/orm/test_selectin_relations.py:3150–3156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3148 Base = cls.DeclarativeBasic
3149
3150 class User(Base):
3151 __tablename__ = "user"
3152
3153 id = Column(Integer, primary_key=True)
3154 type = Column(String(10))
3155
3156 __mapper_args__ = {"polymorphic_on": type}
3157
3158 class EmployerUser(User):
3159 roles = relationship("Role", lazy="selectin")

Callers 6

goMethod · 0.70
test_orderbyMethod · 0.70
test_orderby_multiMethod · 0.70
test_orderby_relatedMethod · 0.70
test_orderby_descMethod · 0.70
insert_dataMethod · 0.70

Calls 2

ColumnClass · 0.90
StringClass · 0.90

Tested by 6

goMethod · 0.56
test_orderbyMethod · 0.56
test_orderby_multiMethod · 0.56
test_orderby_relatedMethod · 0.56
test_orderby_descMethod · 0.56
insert_dataMethod · 0.56