Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
kenken999
/
fastapi_django_main_live
like
5
Running
on
Zero
App
Files
Files
Community
c84b7aa
fastapi_django_main_live
/
polls
/
controllers
/
ai
/
src
/
models
/
user.py
kenken999
test
1f074d8
6 months ago
raw
Copy download link
history
blame
Safe
228 Bytes
from
dataclasses
import
dataclass
@dataclass
class
User
:
id
:
int
name:
str
email:
str
def
__init__
(
self,
id
:
int
, name:
str
, email:
str
):
self.
id
=
id
self.name = name
self.email = email