22 lines
446 B
Python
22 lines
446 B
Python
"""
|
|
MPR gRPC Module
|
|
|
|
Provides gRPC server and client for worker communication.
|
|
|
|
Generated stubs (worker_pb2.py, worker_pb2_grpc.py) are created by:
|
|
python schema/generate.py --proto
|
|
|
|
Requires: grpcio, grpcio-tools
|
|
"""
|
|
|
|
from .client import WorkerClient, get_client
|
|
from .server import WorkerServicer, serve, update_job_progress
|
|
|
|
__all__ = [
|
|
"WorkerClient",
|
|
"WorkerServicer",
|
|
"get_client",
|
|
"serve",
|
|
"update_job_progress",
|
|
]
|