Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
kenken999
/
fastapi_django_main_live
like
4
Running
on
Zero
App
Files
Files
Community
12a51d7
fastapi_django_main_live
/
polls
/
controllers
/
ai
/
src
/
models
/
user.py
kenken999
test
1f074d8
5 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