-
- Downloads
Fix and enable unused-variable lint
In _server.py start_server_batch_result is removed because start_server_batch can only ever fail as a result of a programming defect in gRPC Python and not the application. This differs from some analogous-appearing points in _channel.py where the result of start_client_batch is checked because at those points it is possible for a failure to indicate a programming defect on the part of the application.
Showing
- .pylintrc 6 additions, 2 deletions.pylintrc
- src/python/grpcio/grpc/_channel.py 1 addition, 1 deletionsrc/python/grpcio/grpc/_channel.py
- src/python/grpcio/grpc/_server.py 1 addition, 1 deletionsrc/python/grpcio/grpc/_server.py
- src/python/grpcio/grpc/framework/foundation/logging_pool.py 1 addition, 1 deletionsrc/python/grpcio/grpc/framework/foundation/logging_pool.py
Please register or sign in to comment