add first commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
"""
|
||||
chongming_worker - 通用 Worker 框架
|
||||
|
||||
提供 Zenoh RPC 端点的装饰器定义、生命周期管理和配置管理。
|
||||
"""
|
||||
from chongming_worker.decorators import (
|
||||
RPCMethod,
|
||||
rpc_method,
|
||||
bind_model,
|
||||
auto_bind_models,
|
||||
get_rpc_methods,
|
||||
get_all_rpc_methods,
|
||||
clear_registry,
|
||||
generate_route_configs,
|
||||
)
|
||||
from chongming_worker.config import (
|
||||
load_worker_config,
|
||||
WorkerConfig,
|
||||
OperationConfig,
|
||||
)
|
||||
from chongming_worker.runtime import (
|
||||
create_worker,
|
||||
create_workers,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"RPCMethod",
|
||||
"rpc_method",
|
||||
"bind_model",
|
||||
"auto_bind_models",
|
||||
"get_rpc_methods",
|
||||
"get_all_rpc_methods",
|
||||
"clear_registry",
|
||||
"generate_route_configs",
|
||||
"load_worker_config",
|
||||
"WorkerConfig",
|
||||
"OperationConfig",
|
||||
"create_worker",
|
||||
"create_workers",
|
||||
]
|
||||
Reference in New Issue
Block a user