From 31b878c9eb9dac75d9fc860a08d8084c8461bdce Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 20 Sep 2023 17:22:29 +0200 Subject: [PATCH] refactor: Move Annotations into annotation module --- papis_extract/{annotation_data.py => annotation.py} | 0 papis_extract/extractor.py | 2 +- papis_extract/formatter.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename papis_extract/{annotation_data.py => annotation.py} (100%) diff --git a/papis_extract/annotation_data.py b/papis_extract/annotation.py similarity index 100% rename from papis_extract/annotation_data.py rename to papis_extract/annotation.py diff --git a/papis_extract/extractor.py b/papis_extract/extractor.py index f6802f0..bdb8780 100644 --- a/papis_extract/extractor.py +++ b/papis_extract/extractor.py @@ -10,7 +10,7 @@ import papis.config import papis.document from papis.document import Document -from papis_extract.annotation_data import Annotation, AnnotatedDocument +from papis_extract.annotation import Annotation, AnnotatedDocument logger = papis.logging.get_logger(__name__) diff --git a/papis_extract/formatter.py b/papis_extract/formatter.py index d687607..4ba782d 100644 --- a/papis_extract/formatter.py +++ b/papis_extract/formatter.py @@ -1,7 +1,7 @@ from dataclasses import dataclass, field from typing import Protocol -from papis_extract.annotation_data import AnnotatedDocument +from papis_extract.annotation import AnnotatedDocument @dataclass