| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # -*- coding: utf-8 -*-
- """
- Trixy Service-Container und Basisklassen.
- """
- from trixy_core.service.enums import ServicePriority, ServiceGroup, ServiceState
- from trixy_core.service.iservice import IService
- from trixy_core.service.service_container import ServiceContainer
- from trixy_core.service.lazy import LazyService, LazyProxy
- from trixy_core.service.shutdown import (
- GracefulShutdownManager,
- ShutdownConfig,
- ShutdownPhase,
- ShutdownReason,
- ShutdownResult,
- ShutdownReport,
- )
- from trixy_core.service.graph import (
- DependencyGraph,
- GraphFormat,
- GraphNode,
- GraphEdge,
- GraphStyle,
- )
- __all__ = [
- # Enums
- "ServicePriority",
- "ServiceGroup",
- "ServiceState",
- # Basis
- "IService",
- "ServiceContainer",
- # Lazy
- "LazyService",
- "LazyProxy",
- # Shutdown
- "GracefulShutdownManager",
- "ShutdownConfig",
- "ShutdownPhase",
- "ShutdownReason",
- "ShutdownResult",
- "ShutdownReport",
- # Graph
- "DependencyGraph",
- "GraphFormat",
- "GraphNode",
- "GraphEdge",
- "GraphStyle",
- ]
|