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

Class Hero

docs_src/tutorial/fastapi/relationships/tutorial001_py310.py:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37
38class Hero(HeroBase, table=True):
39 id: int | None = Field(default=None, primary_key=True)
40
41 team: Team | None = Relationship(back_populates="heroes")
42
43
44class 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…