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

Class Hero

tests/test_query.py:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5def test_query(clear_sqlmodel):
6 class Hero(SQLModel, table=True):
7 id: int | None = Field(default=None, primary_key=True)
8 name: str
9 secret_name: str
10 age: int | None = None
11
12 hero_1 = Hero(name="Deadpond", secret_name="Dive Wilson")
13

Callers 1

test_queryFunction · 0.70

Calls 1

FieldFunction · 0.90

Tested by 1

test_queryFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…