feat: first commit, auth
This commit is contained in:
12
schemas/registration.py
Normal file
12
schemas/registration.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
from schemas.providers import ProvidersType
|
||||
|
||||
|
||||
class UserRegistration(BaseModel):
|
||||
telegram_id: str | None = Field()
|
||||
|
||||
username: str | None = Field()
|
||||
password: str | None = Field()
|
||||
|
||||
provider: ProvidersType
|
||||
Reference in New Issue
Block a user