Cleanup: Delete ALL 242 shims, update ALL consumer imports
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 41s
CI / test-go-edu-search (push) Successful in 32s
CI / test-python-klausur (push) Failing after 2m41s
CI / test-python-agent-core (push) Successful in 34s
CI / test-nodejs-website (push) Successful in 39s
Some checks failed
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 41s
CI / test-go-edu-search (push) Successful in 32s
CI / test-python-klausur (push) Failing after 2m41s
CI / test-python-agent-core (push) Successful in 34s
CI / test-nodejs-website (push) Successful in 39s
klausur-service: 183 shims deleted, 26 test files + 8 source files updated backend-lehrer: 59 shims deleted, main.py + 8 source files updated All imports now use the new package paths directly. Zero shims remaining in the entire codebase. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -33,22 +33,22 @@ from config import EH_UPLOAD_DIR, FRONTEND_PATH
|
||||
from routes import api_router
|
||||
|
||||
# External module routers (already modular)
|
||||
from admin_api import router as admin_router
|
||||
from zeugnis_api import router as zeugnis_router
|
||||
from training_api import router as training_router
|
||||
from admin.api import router as admin_router
|
||||
from zeugnis.api import router as zeugnis_router
|
||||
from training.api import router as training_router
|
||||
from mail.api import router as mail_router
|
||||
try:
|
||||
from trocr_api import router as trocr_router
|
||||
from training.trocr_api import router as trocr_router
|
||||
except ImportError:
|
||||
trocr_router = None
|
||||
from vocab_worksheet_api import router as vocab_router, set_db_pool as set_vocab_db_pool, _init_vocab_table, _load_all_sessions, DATABASE_URL as VOCAB_DATABASE_URL
|
||||
from ocr_pipeline_api import router as ocr_pipeline_router, _cache as ocr_pipeline_cache
|
||||
from grid_editor_api import router as grid_editor_router
|
||||
from orientation_crop_api import router as orientation_crop_router, set_cache_ref as set_orientation_crop_cache
|
||||
from ocr_pipeline_session_store import init_ocr_pipeline_tables
|
||||
from vocab.worksheet.api import router as vocab_router, set_db_pool as set_vocab_db_pool, _init_vocab_table, _load_all_sessions, DATABASE_URL as VOCAB_DATABASE_URL
|
||||
from ocr.pipeline.api import router as ocr_pipeline_router, _cache as ocr_pipeline_cache
|
||||
from grid.editor.api import router as grid_editor_router
|
||||
from ocr.pipeline.orientation_crop_api import router as orientation_crop_router, set_cache_ref as set_orientation_crop_cache
|
||||
from ocr.pipeline.session_store import init_ocr_pipeline_tables
|
||||
from ocr_kombi.router import router as ocr_kombi_router
|
||||
try:
|
||||
from handwriting_htr_api import router as htr_router
|
||||
from ocr.pipeline.htr_api import router as htr_router
|
||||
except ImportError:
|
||||
htr_router = None
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user