3d5acb756f890f3e1fbea1dc2a1915e047bb393b
Move all repository imports (session_repo, blocklist_repo, import_log_repo, settings_repo, history_archive_repo, geo_cache_repo, fail2ban_db_repo) and service imports (auth_service, health_service, default_fail2ban_metadata_service) to module level in app/dependencies.py. This eliminates the pattern of local imports inside provider functions, providing consistency and reducing import overhead. The from app.db import open_db remains a local import since it's only used within get_db(). - Verified no circular dependencies exist - All repository and service provider functions simplified to return modules - Updated Architekture.md § 2.3 to document the module-level import pattern - All tests pass (28 dependency + auth tests) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Description
No description provided
Languages
Python
61.2%
TypeScript
24.9%
HTML
8.4%
Markdown
2.5%
Roff
0.9%
Other
2%