rumine-api-wrapper/db/schemas/UserSchema.py

7 lines
145 B
Python

from pydantic import PositiveInt
from .UUIDSchema import UUIDSchema
class UserSchema(UUIDSchema):
username: str
expiry: PositiveInt = 1