Improve ._pipelines naming

This commit is contained in:
James R. Barlow
2023-10-14 20:25:04 -07:00
parent 7935914f55
commit e400112f32
5 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ from ocrmypdf._pipeline import (
render_hocr_page,
validate_pdfinfo_options,
)
from ocrmypdf._pipelines.common import (
from ocrmypdf._pipelines._common import (
HOCRResult,
manage_work_folder,
postprocess,

View File

@@ -32,7 +32,7 @@ from ocrmypdf._pipeline import (
triage,
validate_pdfinfo_options,
)
from ocrmypdf._pipelines.common import (
from ocrmypdf._pipelines._common import (
PageResult,
cli_exception_handler,
manage_debug_log_handler,

View File

@@ -24,7 +24,7 @@ from ocrmypdf._pipeline import (
ocr_engine_hocr,
validate_pdfinfo_options,
)
from ocrmypdf._pipelines.common import (
from ocrmypdf._pipelines._common import (
HOCRResult,
manage_work_folder,
process_page,

View File

@@ -10,11 +10,11 @@ from __future__ import annotations
import logging
import logging.handlers
from ocrmypdf._pipelines.common import (
from ocrmypdf._pipelines._common import (
configure_debug_logging,
)
from ocrmypdf._pipelines.ocr import run_pipeline, run_pipeline_cli
from ocrmypdf._pipelines.pdf_to_hocr import run_hocr_pipeline
from ocrmypdf._pipelines.standard import run_pipeline, run_pipeline_cli
log = logging.getLogger(__name__)