forked from Rockachopa/Timmy-time-dashboard
This commit is contained in:
40
src/timmy/dispatch/__init__.py
Normal file
40
src/timmy/dispatch/__init__.py
Normal file
@@ -0,0 +1,40 @@
|
||||
"""Agent dispatch package — split from ``timmy.dispatcher``.
|
||||
|
||||
Re-exports all public (and commonly-tested private) names so that
|
||||
``from timmy.dispatch import X`` works for every symbol that was
|
||||
previously available in ``timmy.dispatcher``.
|
||||
"""
|
||||
|
||||
from .assignment import (
|
||||
DispatchResult,
|
||||
_dispatch_local,
|
||||
_dispatch_via_api,
|
||||
_dispatch_via_gitea,
|
||||
dispatch_task,
|
||||
)
|
||||
from .queue import wait_for_completion
|
||||
from .routing import (
|
||||
AGENT_REGISTRY,
|
||||
AgentSpec,
|
||||
AgentType,
|
||||
DispatchStatus,
|
||||
TaskType,
|
||||
infer_task_type,
|
||||
select_agent,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"AgentType",
|
||||
"TaskType",
|
||||
"DispatchStatus",
|
||||
"AgentSpec",
|
||||
"AGENT_REGISTRY",
|
||||
"DispatchResult",
|
||||
"select_agent",
|
||||
"infer_task_type",
|
||||
"dispatch_task",
|
||||
"wait_for_completion",
|
||||
"_dispatch_local",
|
||||
"_dispatch_via_api",
|
||||
"_dispatch_via_gitea",
|
||||
]
|
||||
Reference in New Issue
Block a user