MCPcopy Index your code
hub / github.com/fastapi/sqlmodel / Team

Class Team

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

Source from the content-addressed store, hash-verified

8
9
10class Team(TeamBase, table=True):
11 id: int | None = Field(default=None, primary_key=True)
12
13 heroes: list["Hero"] = Relationship(back_populates="team")
14
15
16class TeamCreate(TeamBase):

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…