moved object definitions into separate files

This commit is contained in:
Brian Bjarke Jensen
2024-03-17 18:41:05 +01:00
parent 6fec85adfe
commit 8965eb7192
3 changed files with 9 additions and 4 deletions
+4
View File
@@ -0,0 +1,4 @@
from __future__ import annotations
from .exceptions import NoDocumentFoundException
from .visual_communication import VisualCommunication
+5
View File
@@ -0,0 +1,5 @@
from __future__ import annotations
class NoDocumentFoundException(Exception):
pass
@@ -14,10 +14,6 @@ from pydantic import field_validator
from core.dto import ModelData from core.dto import ModelData
class NoDocumentFoundException(Exception):
pass
class VisualCommunication(BaseModel): class VisualCommunication(BaseModel):
name: str name: str
image: Image.Image image: Image.Image