10 lines
206 B
Python
10 lines
206 B
Python
![]() |
from pydantic import BaseModel, ConfigDict
|
||
|
|
||
|
|
||
|
class Subscribe(BaseModel):
|
||
|
"""The data for subscribing a user to the newsletter."""
|
||
|
|
||
|
email: str
|
||
|
|
||
|
model_config = ConfigDict(protected_namespaces=())
|