Endding entity_id to user model

This commit is contained in:
2023-03-08 15:07:39 +01:00
parent 9da0063812
commit ac3268e6c8
2 changed files with 4 additions and 6 deletions

View File

@@ -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):