aboutsummaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-11-30 19:12:15 +0200
committerGravatar ks129 <[email protected]>2020-11-30 19:12:15 +0200
commitf73e8c4001e09c3b9d03655155b073c591447592 (patch)
tree053404edcfac156a9634b685705dbd08072131b5 /backend
parentAdd ObjectId type for MongoDB Pydantic models (diff)
Move ObjectId to special types directory
Diffstat (limited to 'backend')
-rw-r--r--backend/models/types/__init__.py3
-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