MCPcopy
hub / github.com/fastapi/sqlmodel / Hero

Class Hero

docs_src/tutorial/fastapi/teams/tutorial001_py310.py:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35
36
37class Hero(HeroBase, table=True):
38 id: int | None = Field(default=None, primary_key=True)
39
40 team: Team | None = Relationship(back_populates="heroes")
41
42
43class HeroPublic(HeroBase):

Callers

nothing calls this directly

Calls 2

FieldFunction · 0.90
RelationshipFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…