19 lines
725 B
Python
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]
|