From 460257294de7b7be869b6cc51d8b2d49dfa98064 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Mon, 18 Nov 2024 11:08:28 +0100
Subject: [PATCH] Use relative import for sub blueprints
---
app/blueprints/contributions/spacy_nlp_pipeline_models/forms.py | 2 +-
.../contributions/tesseract_ocr_pipeline_models/forms.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/blueprints/contributions/spacy_nlp_pipeline_models/forms.py b/app/blueprints/contributions/spacy_nlp_pipeline_models/forms.py
index 3d81cddf..52ac1e58 100644
--- a/app/blueprints/contributions/spacy_nlp_pipeline_models/forms.py
+++ b/app/blueprints/contributions/spacy_nlp_pipeline_models/forms.py
@@ -1,8 +1,8 @@
from flask_wtf.file import FileField, FileRequired
from wtforms import StringField, ValidationError
from wtforms.validators import InputRequired, Length
-from app.blueprints.contributions.forms import ContributionBaseForm, UpdateContributionBaseForm
from app.blueprints.services import SERVICES
+from ..forms import ContributionBaseForm, UpdateContributionBaseForm
class CreateSpaCyNLPPipelineModelForm(ContributionBaseForm):
diff --git a/app/blueprints/contributions/tesseract_ocr_pipeline_models/forms.py b/app/blueprints/contributions/tesseract_ocr_pipeline_models/forms.py
index 0938b634..d9d6b59f 100644
--- a/app/blueprints/contributions/tesseract_ocr_pipeline_models/forms.py
+++ b/app/blueprints/contributions/tesseract_ocr_pipeline_models/forms.py
@@ -1,7 +1,7 @@
from flask_wtf.file import FileField, FileRequired
from wtforms import ValidationError
-from app.blueprints.contributions.forms import ContributionBaseForm, UpdateContributionBaseForm
from app.blueprints.services import SERVICES
+from ..forms import ContributionBaseForm, UpdateContributionBaseForm
class CreateTesseractOCRPipelineModelForm(ContributionBaseForm):