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

Class Hero

docs_src/tutorial/where/tutorial011_py310.py:4–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2
3
4class Hero(SQLModel, table=True):
5 id: int | None = Field(default=None, primary_key=True)
6 name: str
7 secret_name: str
8 age: int | None = None
9
10
11sqlite_file_name = "database.db"

Callers 1

create_heroesFunction · 0.70

Calls 1

FieldFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…