Reviewer advice

pull/21954/head
Richard Belleville 5 years ago
parent 485e87cadf
commit 6eddf397e9
  1. 2
      .pylintrc
  2. 4
      src/python/grpcio/grpc/_simple_stubs.py
  3. 1
      src/python/grpcio/grpc/experimental/__init__.py

@ -19,7 +19,7 @@ dummy-variables-rgx=^ignored_|^unused_|_
# NOTE(nathaniel): Not particularly attached to this value; it just seems to
# be what works for us at the moment (excepting the dead-code-walking Beta
# API).
max-args=7
max-args=14
max-parents=8
[MISCELLANEOUS]

@ -169,7 +169,6 @@ class ChannelCache:
# Make this the default option.
# pylint: disable=too-many-arguments
@experimental_api
def unary_unary(
request: RequestType,
@ -241,7 +240,6 @@ def unary_unary(
timeout=timeout)
# pylint: disable=too-many-arguments
@experimental_api
def unary_stream(
request: RequestType,
@ -312,7 +310,6 @@ def unary_stream(
timeout=timeout)
# pylint: disable=too-many-arguments
@experimental_api
def stream_unary(
request_iterator: Iterator[RequestType],
@ -383,7 +380,6 @@ def stream_unary(
timeout=timeout)
# pylint: disable=too-many-arguments
@experimental_api
def stream_stream(
request_iterator: Iterator[RequestType],

@ -82,7 +82,6 @@ __all__ = (
'ChannelOptions',
'ExperimentalApiWarning',
'UsageError',
'experimental_api',
'insecure_channel_credentials',
)

Loading…
Cancel
Save