diff options
author | 2020-11-30 19:12:15 +0200 | |
---|---|---|
committer | 2020-11-30 19:12:15 +0200 | |
commit | f73e8c4001e09c3b9d03655155b073c591447592 (patch) | |
tree | 053404edcfac156a9634b685705dbd08072131b5 | |
parent | Add ObjectId type for MongoDB Pydantic models (diff) |
Move ObjectId to special types directory
-rw-r--r-- | backend/models/types/__init__.py | 3 | ||||
-rw-r--r-- | backend/models/types/object_id.py (renamed from backend/models/_object_id.py) | 0 |
2 files changed, 3 insertions, 0 deletions
diff --git a/backend/models/types/__init__.py b/backend/models/types/__init__.py new file mode 100644 index 0000000..ae408d7 --- /dev/null +++ b/backend/models/types/__init__.py @@ -0,0 +1,3 @@ +from .object_id import ObjectId + +__all__ = ["ObjectId"] diff --git a/backend/models/_object_id.py b/backend/models/types/object_id.py index f0e47cf..f0e47cf 100644 --- a/backend/models/_object_id.py +++ b/backend/models/types/object_id.py |