Revert python changes

pull/17242/head
Muxi Yan 6 years ago
parent eebe2e669e
commit 50d34c224a
  1. 1
      src/python/grpcio/grpc/_channel.py
  2. 1
      src/python/grpcio/grpc/_common.py
  3. 1
      src/python/grpcio/grpc/_cython/_cygrpc/grpc_string.pyx.pxi
  4. 1
      src/python/grpcio/grpc/_cython/_cygrpc/server.pyx.pxi
  5. 1
      src/python/grpcio/grpc/_plugin_wrapping.py
  6. 1
      src/python/grpcio/grpc/framework/foundation/callable_util.py
  7. 1
      src/python/grpcio/grpc/framework/foundation/logging_pool.py
  8. 1
      src/python/grpcio/grpc/framework/foundation/stream_util.py

@ -25,7 +25,6 @@ from grpc._cython import cygrpc
from grpc.framework.foundation import callable_util
_LOGGER = logging.getLogger(__name__)
_LOGGER.addHandler(logging.NullHandler())
_USER_AGENT = 'grpc-python/{}'.format(_grpcio_metadata.__version__)

@ -21,7 +21,6 @@ import grpc
from grpc._cython import cygrpc
_LOGGER = logging.getLogger(__name__)
_LOGGER.addHandler(logging.NullHandler())
CYGRPC_CONNECTIVITY_STATE_TO_CHANNEL_CONNECTIVITY = {
cygrpc.ConnectivityState.idle:

@ -15,7 +15,6 @@
import logging
_LOGGER = logging.getLogger(__name__)
_LOGGER.addHandler(logging.NullHandler())
# This function will ascii encode unicode string inputs if neccesary.
# In Python3, unicode strings are the default str type.

@ -19,7 +19,6 @@ import time
import grpc
_LOGGER = logging.getLogger(__name__)
_LOGGER.addHandler(logging.NullHandler())
cdef class Server:

@ -21,7 +21,6 @@ from grpc import _common
from grpc._cython import cygrpc
_LOGGER = logging.getLogger(__name__)
_LOGGER.addHandler(logging.NullHandler())
class _AuthMetadataContext(

@ -22,7 +22,6 @@ import logging
import six
_LOGGER = logging.getLogger(__name__)
_LOGGER.addHandler(logging.NullHandler())
class Outcome(six.with_metaclass(abc.ABCMeta)):

@ -18,7 +18,6 @@ import logging
from concurrent import futures
_LOGGER = logging.getLogger(__name__)
_LOGGER.addHandler(logging.NullHandler())
def _wrap(behavior):

@ -20,7 +20,6 @@ from grpc.framework.foundation import stream
_NO_VALUE = object()
_LOGGER = logging.getLogger(__name__)
_LOGGER.addHandler(logging.NullHandler())
class TransformingConsumer(stream.Consumer):

Loading…
Cancel
Save