Skip to content

Commit

Permalink
Document tests/executor_service
Browse files Browse the repository at this point in the history
  • Loading branch information
pelletier committed Jan 29, 2024
1 parent fa667b9 commit a57d678
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/executor_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
import ring.coroutine.v1.coroutine_pb2
import ring.coroutine.v1.coroutine_pb2_grpc

# This file provides a grpc client that can talk to the ExecutorService
# interface. This is achieved by implementing the bare minimum of the
# grpc.Channel using httpx to make the requests, which allows us to use the
# same httpx client as the FastAPI testing framework.
#
# See test_fastapi.py for an example of how to use this client.


class UnaryUnaryMultiCallable(grpc.UnaryUnaryMultiCallable):
def __init__(self, client, method, request_serializer, response_deserializer):
Expand Down

0 comments on commit a57d678

Please sign in to comment.