Endding entity_id to user model
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
import uuid
|
||||
from typing import TypeVar
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
from pydantic import BaseModel
|
||||
from fastapi_users import schemas
|
||||
|
||||
from ..core.schemas import Reader
|
||||
from .models import User
|
||||
|
||||
|
||||
@@ -24,6 +20,7 @@ class UserCreate(UserBase):
|
||||
login: str
|
||||
password: str
|
||||
email: str
|
||||
entity_id: str
|
||||
|
||||
|
||||
class UserUpdate(UserBase):
|
||||
|
||||
Reference in New Issue
Block a user