From 699db12a29d12df23573a14f729a29b78714dbfb Mon Sep 17 00:00:00 2001 From: Matteo Campinoti Date: Fri, 18 Oct 2024 00:04:35 +0200 Subject: [PATCH] models.history - rename to event --- acacore/database/files_db.py | 2 +- acacore/models/__init__.py | 2 +- acacore/models/{history.py => event.py} | 0 acacore/utils/click.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename acacore/models/{history.py => event.py} (100%) diff --git a/acacore/database/files_db.py b/acacore/database/files_db.py index 85744b61..b7ca9c35 100644 --- a/acacore/database/files_db.py +++ b/acacore/database/files_db.py @@ -3,9 +3,9 @@ from pydantic import BaseModel +from acacore.models.event import Event from acacore.models.file import ConvertedFile from acacore.models.file import OriginalFile -from acacore.models.history import Event from acacore.models.metadata import Metadata from acacore.models.reference_files import TActionType diff --git a/acacore/models/__init__.py b/acacore/models/__init__.py index e6e39b10..2a344690 100644 --- a/acacore/models/__init__.py +++ b/acacore/models/__init__.py @@ -1,4 +1,4 @@ +from . import event from . import file -from . import history from . import metadata from . import reference_files diff --git a/acacore/models/history.py b/acacore/models/event.py similarity index 100% rename from acacore/models/history.py rename to acacore/models/event.py diff --git a/acacore/utils/click.py b/acacore/utils/click.py index 2b404c5f..00229b76 100644 --- a/acacore/utils/click.py +++ b/acacore/utils/click.py @@ -15,7 +15,7 @@ from click import Context from click import Parameter -from acacore.models.history import Event +from acacore.models.event import Event from acacore.utils.helpers import ExceptionManager from acacore.utils.log import setup_logger