Pipeline: Remove custom Term model
@@ -6,7 +6,6 @@ from scripts.pipelines import EntityPipeline, register_entity_pipeline
from .colorize import get_term_color_positions
from .extractor import TermExtractor
from .types import Term
-from .upload import Term as TermModel
from .upload import upload_terms
commands = create_entity_localization_command_sequence(
@@ -17,6 +16,5 @@ commands = create_entity_localization_command_sequence(
upload_func=upload_terms,
)
-directories.register("terms-model-ids")
-terms_pipeline = EntityPipeline("terms", commands, database_models=[TermModel])
+terms_pipeline = EntityPipeline("terms", commands)
register_entity_pipeline(terms_pipeline)
