Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
brestok
/
TraumaBackend
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
TraumaBackend
/
trauma
/
api
/
account
/
dto.py
brestok
add auth
c6cc0f2
about 1 month ago
raw
Copy download link
history
blame
contribute
delete
Safe
180 Bytes
from
enum
import
Enum
from
pydantic
import
BaseModel
class
AccessToken
(
BaseModel
):
type
:
str
=
"Bearer"
value:
str
class
AccountType
(
Enum
):
User =
1
Admin =
2