Fix: Update all old-style imports inside packages to new paths
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 1m7s
CI / test-go-edu-search (push) Successful in 46s
CI / test-python-klausur (push) Failing after 2m32s
CI / test-python-agent-core (push) Successful in 33s
CI / test-nodejs-website (push) Successful in 34s
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 1m7s
CI / test-go-edu-search (push) Successful in 46s
CI / test-python-klausur (push) Failing after 2m32s
CI / test-python-agent-core (push) Successful in 33s
CI / test-nodejs-website (push) Successful in 34s
65 files in klausur-service packages + 3 in backend-lehrer packages had stale imports referencing deleted shim modules. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
worksheet package — worksheet editor, NRU generator, cleanup.
|
||||
|
||||
Backward-compatible re-exports: consumers can still use
|
||||
``from worksheet_editor_api import ...`` etc. via the shim files in backend/.
|
||||
``from worksheet.editor_api import ...`` etc. via the shim files in backend/.
|
||||
"""
|
||||
|
||||
@@ -366,7 +366,7 @@ async def reconstruct_document_from_session(request: ReconstructRequest):
|
||||
async def get_available_sessions():
|
||||
"""Get list of available vocab sessions that can be reconstructed."""
|
||||
try:
|
||||
from vocab_worksheet_api import _sessions
|
||||
from vocab.worksheet.api import _sessions
|
||||
|
||||
available = []
|
||||
for session_id, session in _sessions.items():
|
||||
|
||||
@@ -31,7 +31,7 @@ async def reconstruct_document_logic(request: ReconstructRequest) -> Reconstruct
|
||||
Returns ReconstructResponse ready to send to the client.
|
||||
"""
|
||||
from fastapi import HTTPException
|
||||
from vocab_worksheet_api import _sessions, convert_pdf_page_to_image
|
||||
from vocab.worksheet.api import _sessions, convert_pdf_page_to_image
|
||||
|
||||
# Check if session exists
|
||||
if request.session_id not in _sessions:
|
||||
|
||||
Reference in New Issue
Block a user