22 lines
861 B
Python
22 lines
861 B
Python
# [DEF:backend.src.services:Module]
|
|
# @TIER: STANDARD
|
|
# @SEMANTICS: services, package, init
|
|
# @PURPOSE: Package initialization for services module
|
|
# @LAYER: Core
|
|
# @RELATION: EXPORTS -> resource_service, mapping_service
|
|
# @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:backend.src.services:Module]
|