mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-11-17 02:20:25 +00:00
Enhance code structure
This commit is contained in:
1 parent
84e1755a57
commit
268da220d2
26 files changed
+104
-50
No files matched your search
@@ -4,7 +4,7 @@ from threading import Thread
|
||||
from app import db
|
||||
from app.decorators import content_negotiation, permission_required
|
||||
from app.models import SpaCyNLPPipelineModel
|
||||
from .. import bp
|
||||
from . import bp
|
||||
|
||||
|
||||
@bp.route('/spacy-nlp-pipeline-models/<hashid:spacy_nlp_pipeline_model_id>', methods=['DELETE'])
|
||||
|
||||
@@ -8,9 +8,7 @@ from .forms import (
|
||||
CreateSpaCyNLPPipelineModelForm,
|
||||
UpdateSpaCyNLPPipelineModelForm
|
||||
)
|
||||
from .utils import (
|
||||
spacy_nlp_pipeline_model_dlc as spacy_nlp_pipeline_model_dlc
|
||||
)
|
||||
from .utils import spacy_nlp_pipeline_model_dlc
|
||||
|
||||
|
||||
@bp.route('/spacy-nlp-pipeline-models')
|
||||
|
||||
Reference in new issue
Block a user