Files
ss-tools/backend/src/services/__init__.py
2026-04-01 22:31:10 +03:00

19 lines
725 B
Python

# [DEF:services:Module]
# @COMPLEXITY: 2
# @PURPOSE: Package initialization for services module
# @NOTE: Only export services that don't cause circular imports
# @NOTE: GitService, AuthService, LLMProviderService have circular import issues - import directly when needed
# Lazy loading to avoid import issues in tests
__all__ = ['MappingService', 'ResourceService']
def __getattr__(name):
if name == 'MappingService':
from .mapping_service import MappingService
return MappingService
if name == 'ResourceService':
from .resource_service import ResourceService
return ResourceService
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
# [/DEF:services:Module]