uow and di basic implementation
This commit is contained in:
11
api/schemas/user_schema.py
Normal file
11
api/schemas/user_schema.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from uuid import UUID
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class UserSchema(BaseModel):
|
||||
id: UUID
|
||||
name: str
|
||||
|
||||
class Config:
|
||||
from_attributes = True
|
Reference in New Issue
Block a user