Skip to content

Commit befc2c7

Browse files
fix: redirect app.py transitive imports to index_sync_service to unblock CI collection
Agent-Logs-Url: https://github.com/OliverZhaohaibin/iPhotron-LocalPhotoAlbumManager/sessions/bea3ef59-3919-4353-87be-35ad415709c7 Co-authored-by: OliverZhaohaibin <160622109+OliverZhaohaibin@users.noreply.github.com>
1 parent c103302 commit befc2c7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/iPhoto/library/workers/scanner_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from PySide6.QtCore import QObject, QRunnable, Signal
99

10-
from ...app import load_incremental_index_cache
10+
from ...index_sync_service import load_incremental_index_cache
1111
from ...cache.index_store import get_global_repository
1212
from ...config import WORK_DIR_NAME
1313
from ...io.scanner_adapter import scan_album

tests/test_app_live_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import pytest
33
from pathlib import Path
44
from unittest.mock import MagicMock, patch
5-
from iPhoto.app import _sync_live_roles_to_db
5+
from iPhoto.index_sync_service import sync_live_roles_to_db as _sync_live_roles_to_db
66
from iPhoto.models.types import LiveGroup
77
from iPhoto.cache.index_store import IndexStore
88
from iPhoto.config import WORK_DIR_NAME

0 commit comments

Comments
 (0)