Source code for python_pachyderm.mixin.health

from python_pachyderm.service import Service
from python_pachyderm.proto.health import health_pb2_grpc as health_grpc


[docs]class HealthMixin:
[docs] def health(self): """Returns a health check indicating if the server can handle RPCs.""" return self._req( Service.HEALTH, "Health", req=health_grpc.google_dot_protobuf_dot_empty__pb2.Empty(), )