mime fix
This commit is contained in:
1 parent
89f3d073d9
commit
f954a46601
17 files changed
+264
-10
No files matched your search
@@ -0,0 +1,13 @@
|
||||
from typing import Optional, Union
|
||||
|
||||
from sqlmodel import Field, SQLModel, Session, select
|
||||
from db.DB import DB, DBException
|
||||
|
||||
|
||||
class Token(SQLModel):
|
||||
access_token: str
|
||||
token_type: str
|
||||
|
||||
|
||||
class TokenData(SQLModel):
|
||||
username: Union[str, None] = None
|
||||
Reference in new issue
Block a user