shabbyrobe / grpc-stubs

gRPC typing stubs for Python
MIT License
36 stars 21 forks source link

Refine ClientCallDetails fields #3

Closed josephharrington closed 4 years ago

josephharrington commented 4 years ago

All fields in ClientCallDetails are optional except for method. This object encapsulates arguments passed to rpc method calls on client stubs, for which only the request object is required.

Reference: https://github.com/grpc/grpc/blob/master@{2019-12-05}/src/python/grpcio/grpc/_interceptor.py#L227-L234

shabbyrobe commented 4 years ago

Looks great! Thanks!

shabbyrobe commented 4 years ago

I've published 1.24.1 to PyPi. Please let me know if you have any more trouble.