Spaces:
Paused
Paused
Update backend/mongodb/models/users.py
Browse files
backend/mongodb/models/users.py
CHANGED
@@ -3,8 +3,6 @@ from typing import List, Optional
|
|
3 |
from pydantic import BaseModel, Field, SecretStr, PrivateAttr
|
4 |
from pydantic.networks import EmailStr
|
5 |
|
6 |
-
from pydantic_mongo import ObjectIdField
|
7 |
-
|
8 |
'''Class for user model used to relate users to past calls'''
|
9 |
class User(BaseModel):
|
10 |
_id: uuid.UUID = PrivateAttr(default_factory=uuid.uuid4) # private attr not included in http calls
|
|
|
3 |
from pydantic import BaseModel, Field, SecretStr, PrivateAttr
|
4 |
from pydantic.networks import EmailStr
|
5 |
|
|
|
|
|
6 |
'''Class for user model used to relate users to past calls'''
|
7 |
class User(BaseModel):
|
8 |
_id: uuid.UUID = PrivateAttr(default_factory=uuid.uuid4) # private attr not included in http calls
|