-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
apiThis has to do with the Python API (view)This has to do with the Python API (view)complexThis should only be looked at by someone who knows what they're doingThis should only be looked at by someone who knows what they're doingfeatureNew featureNew feature
Milestone
Description
Waiting on #9, probably. Should probably support SQLite first.
Hypothetical API:
@model()
class User:
name: str
password: Hashed[str]
id: Id[int] = auto_increment()
@post("/signup")
@body("data", User)
async def signup(data: User):
await data.save()
return "Created account"
Metadata
Metadata
Assignees
Labels
apiThis has to do with the Python API (view)This has to do with the Python API (view)complexThis should only be looked at by someone who knows what they're doingThis should only be looked at by someone who knows what they're doingfeatureNew featureNew feature