Updated requirements, regenerated proto files with grpcio-tools==1.30.0, fixed typing

This commit is contained in:
Vladimir Magamedov 2020-06-23 23:12:34 +03:00
parent e64a0c49ef
commit 359dcaec87
18 changed files with 433 additions and 291 deletions

View File

@ -1,5 +1,5 @@
sudo: false
dist: xenial
dist: bionic
language: python
python:
- '3.6'

View File

@ -18,6 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='helloworld',
syntax='proto3',
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\x1bhelloworld/helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\nHelloReply\x12\x0f\n\x07message\x18\x01 \x01(\t2I\n\x07Greeter\x12>\n\x08SayHello\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x62\x06proto3'
)
@ -30,6 +31,7 @@ _HELLOREQUEST = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='name', full_name='helloworld.HelloRequest.name', index=0,
@ -37,7 +39,7 @@ _HELLOREQUEST = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -61,6 +63,7 @@ _HELLOREPLY = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='message', full_name='helloworld.HelloReply.message', index=0,
@ -68,7 +71,7 @@ _HELLOREPLY = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -111,6 +114,7 @@ _GREETER = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=104,
serialized_end=177,
methods=[
@ -122,6 +126,7 @@ _GREETER = _descriptor.ServiceDescriptor(
input_type=_HELLOREQUEST,
output_type=_HELLOREPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_GREETER)

View File

@ -1,11 +1,12 @@
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from helloworld import helloworld_pb2 as helloworld_dot_helloworld__pb2
class GreeterStub(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
@ -21,10 +22,10 @@ class GreeterStub(object):
class GreeterServicer(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def SayHello(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
@ -45,7 +46,7 @@ def add_GreeterServicer_to_server(servicer, server):
# This class is part of an EXPERIMENTAL API.
class Greeter(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
@staticmethod
def SayHello(request,

View File

@ -19,6 +19,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='primes',
syntax='proto3',
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\x16multiproc/primes.proto\x12\x06primes\x1a\x1egoogle/protobuf/wrappers.proto\"\x19\n\x07Request\x12\x0e\n\x06number\x18\x01 \x01(\x03\"5\n\x05Reply\x12,\n\x08is_prime\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.BoolValue23\n\x06Primes\x12)\n\x05\x43heck\x12\x0f.primes.Request\x1a\r.primes.Reply\"\x00\x62\x06proto3'
,
dependencies=[google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,])
@ -32,6 +33,7 @@ _REQUEST = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='number', full_name='primes.Request.number', index=0,
@ -39,7 +41,7 @@ _REQUEST = _descriptor.Descriptor(
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -63,6 +65,7 @@ _REPLY = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='is_prime', full_name='primes.Reply.is_prime', index=0,
@ -70,7 +73,7 @@ _REPLY = _descriptor.Descriptor(
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -114,6 +117,7 @@ _PRIMES = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=148,
serialized_end=199,
methods=[
@ -125,6 +129,7 @@ _PRIMES = _descriptor.ServiceDescriptor(
input_type=_REQUEST,
output_type=_REPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_PRIMES)

View File

@ -18,6 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='helloworld',
syntax='proto3',
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\x1astreaming/helloworld.proto\x12\nhelloworld\"\x1c\n\x0cHelloRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1d\n\nHelloReply\x12\x0f\n\x07message\x18\x01 \x01(\t2\xbd\x02\n\x07Greeter\x12H\n\x12UnaryUnaryGreeting\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x12K\n\x13UnaryStreamGreeting\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00\x30\x01\x12K\n\x13StreamUnaryGreeting\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00(\x01\x12N\n\x14StreamStreamGreeting\x12\x18.helloworld.HelloRequest\x1a\x16.helloworld.HelloReply\"\x00(\x01\x30\x01\x62\x06proto3'
)
@ -30,6 +31,7 @@ _HELLOREQUEST = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='name', full_name='helloworld.HelloRequest.name', index=0,
@ -37,7 +39,7 @@ _HELLOREQUEST = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -61,6 +63,7 @@ _HELLOREPLY = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='message', full_name='helloworld.HelloReply.message', index=0,
@ -68,7 +71,7 @@ _HELLOREPLY = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -111,6 +114,7 @@ _GREETER = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=104,
serialized_end=421,
methods=[
@ -122,6 +126,7 @@ _GREETER = _descriptor.ServiceDescriptor(
input_type=_HELLOREQUEST,
output_type=_HELLOREPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='UnaryStreamGreeting',
@ -131,6 +136,7 @@ _GREETER = _descriptor.ServiceDescriptor(
input_type=_HELLOREQUEST,
output_type=_HELLOREPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='StreamUnaryGreeting',
@ -140,6 +146,7 @@ _GREETER = _descriptor.ServiceDescriptor(
input_type=_HELLOREQUEST,
output_type=_HELLOREPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='StreamStreamGreeting',
@ -149,6 +156,7 @@ _GREETER = _descriptor.ServiceDescriptor(
input_type=_HELLOREQUEST,
output_type=_HELLOREPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_GREETER)

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,9 @@ if TYPE_CHECKING:
from .._typing import ICheckable # noqa
def _status(checks: Set['CheckBase']) -> 'HealthCheckResponse.ServingStatus':
def _status(
checks: Set['CheckBase'],
) -> 'HealthCheckResponse.ServingStatusValue':
statuses = {check.__status__() for check in checks}
if statuses == {None}:
return HealthCheckResponse.UNKNOWN

View File

@ -18,6 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='grpc.health.v1',
syntax='proto3',
serialized_options=b'\n\021io.grpc.health.v1B\013HealthProtoP\001Z,google.golang.org/grpc/health/grpc_health_v1\252\002\016Grpc.Health.V1',
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\x1egrpclib/health/v1/health.proto\x12\x0egrpc.health.v1\"%\n\x12HealthCheckRequest\x12\x0f\n\x07service\x18\x01 \x01(\t\"\xa9\x01\n\x13HealthCheckResponse\x12\x41\n\x06status\x18\x01 \x01(\x0e\x32\x31.grpc.health.v1.HealthCheckResponse.ServingStatus\"O\n\rServingStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SERVING\x10\x01\x12\x0f\n\x0bNOT_SERVING\x10\x02\x12\x13\n\x0fSERVICE_UNKNOWN\x10\x03\x32\xae\x01\n\x06Health\x12P\n\x05\x43heck\x12\".grpc.health.v1.HealthCheckRequest\x1a#.grpc.health.v1.HealthCheckResponse\x12R\n\x05Watch\x12\".grpc.health.v1.HealthCheckRequest\x1a#.grpc.health.v1.HealthCheckResponse0\x01\x42\x61\n\x11io.grpc.health.v1B\x0bHealthProtoP\x01Z,google.golang.org/grpc/health/grpc_health_v1\xaa\x02\x0eGrpc.Health.V1b\x06proto3'
)
@ -28,23 +29,28 @@ _HEALTHCHECKRESPONSE_SERVINGSTATUS = _descriptor.EnumDescriptor(
full_name='grpc.health.v1.HealthCheckResponse.ServingStatus',
filename=None,
file=DESCRIPTOR,
create_key=_descriptor._internal_create_key,
values=[
_descriptor.EnumValueDescriptor(
name='UNKNOWN', index=0, number=0,
serialized_options=None,
type=None),
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='SERVING', index=1, number=1,
serialized_options=None,
type=None),
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='NOT_SERVING', index=2, number=2,
serialized_options=None,
type=None),
type=None,
create_key=_descriptor._internal_create_key),
_descriptor.EnumValueDescriptor(
name='SERVICE_UNKNOWN', index=3, number=3,
serialized_options=None,
type=None),
type=None,
create_key=_descriptor._internal_create_key),
],
containing_type=None,
serialized_options=None,
@ -60,6 +66,7 @@ _HEALTHCHECKREQUEST = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='service', full_name='grpc.health.v1.HealthCheckRequest.service', index=0,
@ -67,7 +74,7 @@ _HEALTHCHECKREQUEST = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -91,6 +98,7 @@ _HEALTHCHECKRESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='status', full_name='grpc.health.v1.HealthCheckResponse.status', index=0,
@ -98,7 +106,7 @@ _HEALTHCHECKRESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -145,6 +153,7 @@ _HEALTH = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=262,
serialized_end=436,
methods=[
@ -156,6 +165,7 @@ _HEALTH = _descriptor.ServiceDescriptor(
input_type=_HEALTHCHECKREQUEST,
output_type=_HEALTHCHECKRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='Watch',
@ -165,6 +175,7 @@ _HEALTH = _descriptor.ServiceDescriptor(
input_type=_HEALTHCHECKREQUEST,
output_type=_HEALTHCHECKRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_HEALTH)

View File

@ -18,6 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='grpc.reflection.v1',
syntax='proto3',
serialized_options=b'\n\025io.grpc.reflection.v1B\025ServerReflectionProtoP\001Z4google.golang.org/grpc/reflection/grpc_reflection_v1',
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n&grpclib/reflection/v1/reflection.proto\x12\x12grpc.reflection.v1\"\x85\x02\n\x17ServerReflectionRequest\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x1a\n\x10\x66ile_by_filename\x18\x03 \x01(\tH\x00\x12 \n\x16\x66ile_containing_symbol\x18\x04 \x01(\tH\x00\x12I\n\x19\x66ile_containing_extension\x18\x05 \x01(\x0b\x32$.grpc.reflection.v1.ExtensionRequestH\x00\x12\'\n\x1d\x61ll_extension_numbers_of_type\x18\x06 \x01(\tH\x00\x12\x17\n\rlist_services\x18\x07 \x01(\tH\x00\x42\x11\n\x0fmessage_request\"E\n\x10\x45xtensionRequest\x12\x17\n\x0f\x63ontaining_type\x18\x01 \x01(\t\x12\x18\n\x10\x65xtension_number\x18\x02 \x01(\x05\"\xb8\x03\n\x18ServerReflectionResponse\x12\x12\n\nvalid_host\x18\x01 \x01(\t\x12\x45\n\x10original_request\x18\x02 \x01(\x0b\x32+.grpc.reflection.v1.ServerReflectionRequest\x12N\n\x18\x66ile_descriptor_response\x18\x04 \x01(\x0b\x32*.grpc.reflection.v1.FileDescriptorResponseH\x00\x12U\n\x1e\x61ll_extension_numbers_response\x18\x05 \x01(\x0b\x32+.grpc.reflection.v1.ExtensionNumberResponseH\x00\x12I\n\x16list_services_response\x18\x06 \x01(\x0b\x32\'.grpc.reflection.v1.ListServiceResponseH\x00\x12;\n\x0e\x65rror_response\x18\x07 \x01(\x0b\x32!.grpc.reflection.v1.ErrorResponseH\x00\x42\x12\n\x10message_response\"7\n\x16\x46ileDescriptorResponse\x12\x1d\n\x15\x66ile_descriptor_proto\x18\x01 \x03(\x0c\"K\n\x17\x45xtensionNumberResponse\x12\x16\n\x0e\x62\x61se_type_name\x18\x01 \x01(\t\x12\x18\n\x10\x65xtension_number\x18\x02 \x03(\x05\"K\n\x13ListServiceResponse\x12\x34\n\x07service\x18\x01 \x03(\x0b\x32#.grpc.reflection.v1.ServiceResponse\"\x1f\n\x0fServiceResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\":\n\rErrorResponse\x12\x12\n\nerror_code\x18\x01 \x01(\x05\x12\x15\n\rerror_message\x18\x02 \x01(\t2\x89\x01\n\x10ServerReflection\x12u\n\x14ServerReflectionInfo\x12+.grpc.reflection.v1.ServerReflectionRequest\x1a,.grpc.reflection.v1.ServerReflectionResponse(\x01\x30\x01\x42\x66\n\x15io.grpc.reflection.v1B\x15ServerReflectionProtoP\x01Z4google.golang.org/grpc/reflection/grpc_reflection_v1b\x06proto3'
)
@ -30,6 +31,7 @@ _SERVERREFLECTIONREQUEST = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='host', full_name='grpc.reflection.v1.ServerReflectionRequest.host', index=0,
@ -37,42 +39,42 @@ _SERVERREFLECTIONREQUEST = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='file_by_filename', full_name='grpc.reflection.v1.ServerReflectionRequest.file_by_filename', index=1,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='file_containing_symbol', full_name='grpc.reflection.v1.ServerReflectionRequest.file_containing_symbol', index=2,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='file_containing_extension', full_name='grpc.reflection.v1.ServerReflectionRequest.file_containing_extension', index=3,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='all_extension_numbers_of_type', full_name='grpc.reflection.v1.ServerReflectionRequest.all_extension_numbers_of_type', index=4,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='list_services', full_name='grpc.reflection.v1.ServerReflectionRequest.list_services', index=5,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -86,7 +88,9 @@ _SERVERREFLECTIONREQUEST = _descriptor.Descriptor(
oneofs=[
_descriptor.OneofDescriptor(
name='message_request', full_name='grpc.reflection.v1.ServerReflectionRequest.message_request',
index=0, containing_type=None, fields=[]),
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=63,
serialized_end=324,
@ -99,6 +103,7 @@ _EXTENSIONREQUEST = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='containing_type', full_name='grpc.reflection.v1.ExtensionRequest.containing_type', index=0,
@ -106,14 +111,14 @@ _EXTENSIONREQUEST = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='extension_number', full_name='grpc.reflection.v1.ExtensionRequest.extension_number', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -137,6 +142,7 @@ _SERVERREFLECTIONRESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='valid_host', full_name='grpc.reflection.v1.ServerReflectionResponse.valid_host', index=0,
@ -144,42 +150,42 @@ _SERVERREFLECTIONRESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='original_request', full_name='grpc.reflection.v1.ServerReflectionResponse.original_request', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='file_descriptor_response', full_name='grpc.reflection.v1.ServerReflectionResponse.file_descriptor_response', index=2,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='all_extension_numbers_response', full_name='grpc.reflection.v1.ServerReflectionResponse.all_extension_numbers_response', index=3,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='list_services_response', full_name='grpc.reflection.v1.ServerReflectionResponse.list_services_response', index=4,
number=6, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='error_response', full_name='grpc.reflection.v1.ServerReflectionResponse.error_response', index=5,
number=7, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -193,7 +199,9 @@ _SERVERREFLECTIONRESPONSE = _descriptor.Descriptor(
oneofs=[
_descriptor.OneofDescriptor(
name='message_response', full_name='grpc.reflection.v1.ServerReflectionResponse.message_response',
index=0, containing_type=None, fields=[]),
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=398,
serialized_end=838,
@ -206,6 +214,7 @@ _FILEDESCRIPTORRESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='file_descriptor_proto', full_name='grpc.reflection.v1.FileDescriptorResponse.file_descriptor_proto', index=0,
@ -213,7 +222,7 @@ _FILEDESCRIPTORRESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -237,6 +246,7 @@ _EXTENSIONNUMBERRESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='base_type_name', full_name='grpc.reflection.v1.ExtensionNumberResponse.base_type_name', index=0,
@ -244,14 +254,14 @@ _EXTENSIONNUMBERRESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='extension_number', full_name='grpc.reflection.v1.ExtensionNumberResponse.extension_number', index=1,
number=2, type=5, cpp_type=1, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -275,6 +285,7 @@ _LISTSERVICERESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='service', full_name='grpc.reflection.v1.ListServiceResponse.service', index=0,
@ -282,7 +293,7 @@ _LISTSERVICERESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -306,6 +317,7 @@ _SERVICERESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='name', full_name='grpc.reflection.v1.ServiceResponse.name', index=0,
@ -313,7 +325,7 @@ _SERVICERESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -337,6 +349,7 @@ _ERRORRESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='error_code', full_name='grpc.reflection.v1.ErrorResponse.error_code', index=0,
@ -344,14 +357,14 @@ _ERRORRESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='error_message', full_name='grpc.reflection.v1.ErrorResponse.error_message', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -477,6 +490,7 @@ _SERVERREFLECTION = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=1145,
serialized_end=1282,
methods=[
@ -488,6 +502,7 @@ _SERVERREFLECTION = _descriptor.ServiceDescriptor(
input_type=_SERVERREFLECTIONREQUEST,
output_type=_SERVERREFLECTIONRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_SERVERREFLECTION)

View File

@ -18,6 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='grpc.reflection.v1alpha',
syntax='proto3',
serialized_options=b'\n\032io.grpc.reflection.v1alphaB\025ServerReflectionProtoP\001\270\001\001',
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n+grpclib/reflection/v1alpha/reflection.proto\x12\x17grpc.reflection.v1alpha\"\x8a\x02\n\x17ServerReflectionRequest\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x1a\n\x10\x66ile_by_filename\x18\x03 \x01(\tH\x00\x12 \n\x16\x66ile_containing_symbol\x18\x04 \x01(\tH\x00\x12N\n\x19\x66ile_containing_extension\x18\x05 \x01(\x0b\x32).grpc.reflection.v1alpha.ExtensionRequestH\x00\x12\'\n\x1d\x61ll_extension_numbers_of_type\x18\x06 \x01(\tH\x00\x12\x17\n\rlist_services\x18\x07 \x01(\tH\x00\x42\x11\n\x0fmessage_request\"E\n\x10\x45xtensionRequest\x12\x17\n\x0f\x63ontaining_type\x18\x01 \x01(\t\x12\x18\n\x10\x65xtension_number\x18\x02 \x01(\x05\"\xd1\x03\n\x18ServerReflectionResponse\x12\x12\n\nvalid_host\x18\x01 \x01(\t\x12J\n\x10original_request\x18\x02 \x01(\x0b\x32\x30.grpc.reflection.v1alpha.ServerReflectionRequest\x12S\n\x18\x66ile_descriptor_response\x18\x04 \x01(\x0b\x32/.grpc.reflection.v1alpha.FileDescriptorResponseH\x00\x12Z\n\x1e\x61ll_extension_numbers_response\x18\x05 \x01(\x0b\x32\x30.grpc.reflection.v1alpha.ExtensionNumberResponseH\x00\x12N\n\x16list_services_response\x18\x06 \x01(\x0b\x32,.grpc.reflection.v1alpha.ListServiceResponseH\x00\x12@\n\x0e\x65rror_response\x18\x07 \x01(\x0b\x32&.grpc.reflection.v1alpha.ErrorResponseH\x00\x42\x12\n\x10message_response\"7\n\x16\x46ileDescriptorResponse\x12\x1d\n\x15\x66ile_descriptor_proto\x18\x01 \x03(\x0c\"K\n\x17\x45xtensionNumberResponse\x12\x16\n\x0e\x62\x61se_type_name\x18\x01 \x01(\t\x12\x18\n\x10\x65xtension_number\x18\x02 \x03(\x05\"P\n\x13ListServiceResponse\x12\x39\n\x07service\x18\x01 \x03(\x0b\x32(.grpc.reflection.v1alpha.ServiceResponse\"\x1f\n\x0fServiceResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\":\n\rErrorResponse\x12\x12\n\nerror_code\x18\x01 \x01(\x05\x12\x15\n\rerror_message\x18\x02 \x01(\t2\x93\x01\n\x10ServerReflection\x12\x7f\n\x14ServerReflectionInfo\x12\x30.grpc.reflection.v1alpha.ServerReflectionRequest\x1a\x31.grpc.reflection.v1alpha.ServerReflectionResponse(\x01\x30\x01\x42\x38\n\x1aio.grpc.reflection.v1alphaB\x15ServerReflectionProtoP\x01\xb8\x01\x01\x62\x06proto3'
)
@ -30,6 +31,7 @@ _SERVERREFLECTIONREQUEST = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='host', full_name='grpc.reflection.v1alpha.ServerReflectionRequest.host', index=0,
@ -37,42 +39,42 @@ _SERVERREFLECTIONREQUEST = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='file_by_filename', full_name='grpc.reflection.v1alpha.ServerReflectionRequest.file_by_filename', index=1,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='file_containing_symbol', full_name='grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_symbol', index=2,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='file_containing_extension', full_name='grpc.reflection.v1alpha.ServerReflectionRequest.file_containing_extension', index=3,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='all_extension_numbers_of_type', full_name='grpc.reflection.v1alpha.ServerReflectionRequest.all_extension_numbers_of_type', index=4,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='list_services', full_name='grpc.reflection.v1alpha.ServerReflectionRequest.list_services', index=5,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -86,7 +88,9 @@ _SERVERREFLECTIONREQUEST = _descriptor.Descriptor(
oneofs=[
_descriptor.OneofDescriptor(
name='message_request', full_name='grpc.reflection.v1alpha.ServerReflectionRequest.message_request',
index=0, containing_type=None, fields=[]),
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=73,
serialized_end=339,
@ -99,6 +103,7 @@ _EXTENSIONREQUEST = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='containing_type', full_name='grpc.reflection.v1alpha.ExtensionRequest.containing_type', index=0,
@ -106,14 +111,14 @@ _EXTENSIONREQUEST = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='extension_number', full_name='grpc.reflection.v1alpha.ExtensionRequest.extension_number', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -137,6 +142,7 @@ _SERVERREFLECTIONRESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='valid_host', full_name='grpc.reflection.v1alpha.ServerReflectionResponse.valid_host', index=0,
@ -144,42 +150,42 @@ _SERVERREFLECTIONRESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='original_request', full_name='grpc.reflection.v1alpha.ServerReflectionResponse.original_request', index=1,
number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='file_descriptor_response', full_name='grpc.reflection.v1alpha.ServerReflectionResponse.file_descriptor_response', index=2,
number=4, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='all_extension_numbers_response', full_name='grpc.reflection.v1alpha.ServerReflectionResponse.all_extension_numbers_response', index=3,
number=5, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='list_services_response', full_name='grpc.reflection.v1alpha.ServerReflectionResponse.list_services_response', index=4,
number=6, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='error_response', full_name='grpc.reflection.v1alpha.ServerReflectionResponse.error_response', index=5,
number=7, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -193,7 +199,9 @@ _SERVERREFLECTIONRESPONSE = _descriptor.Descriptor(
oneofs=[
_descriptor.OneofDescriptor(
name='message_response', full_name='grpc.reflection.v1alpha.ServerReflectionResponse.message_response',
index=0, containing_type=None, fields=[]),
index=0, containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[]),
],
serialized_start=413,
serialized_end=878,
@ -206,6 +214,7 @@ _FILEDESCRIPTORRESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='file_descriptor_proto', full_name='grpc.reflection.v1alpha.FileDescriptorResponse.file_descriptor_proto', index=0,
@ -213,7 +222,7 @@ _FILEDESCRIPTORRESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -237,6 +246,7 @@ _EXTENSIONNUMBERRESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='base_type_name', full_name='grpc.reflection.v1alpha.ExtensionNumberResponse.base_type_name', index=0,
@ -244,14 +254,14 @@ _EXTENSIONNUMBERRESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='extension_number', full_name='grpc.reflection.v1alpha.ExtensionNumberResponse.extension_number', index=1,
number=2, type=5, cpp_type=1, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -275,6 +285,7 @@ _LISTSERVICERESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='service', full_name='grpc.reflection.v1alpha.ListServiceResponse.service', index=0,
@ -282,7 +293,7 @@ _LISTSERVICERESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -306,6 +317,7 @@ _SERVICERESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='name', full_name='grpc.reflection.v1alpha.ServiceResponse.name', index=0,
@ -313,7 +325,7 @@ _SERVICERESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -337,6 +349,7 @@ _ERRORRESPONSE = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='error_code', full_name='grpc.reflection.v1alpha.ErrorResponse.error_code', index=0,
@ -344,14 +357,14 @@ _ERRORRESPONSE = _descriptor.Descriptor(
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
_descriptor.FieldDescriptor(
name='error_message', full_name='grpc.reflection.v1alpha.ErrorResponse.error_message', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -477,6 +490,7 @@ _SERVERREFLECTION = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=1190,
serialized_end=1337,
methods=[
@ -488,6 +502,7 @@ _SERVERREFLECTION = _descriptor.ServiceDescriptor(
input_type=_SERVERREFLECTIONREQUEST,
output_type=_SERVERREFLECTIONRESPONSE,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_SERVERREFLECTION)

View File

@ -4,20 +4,21 @@
#
# pip-compile requirements/check.in
#
googleapis-common-protos==1.51.0
grpcio-tools==1.26.0
grpcio==1.26.0 # via grpcio-tools
h2==3.1.1
certifi==2020.6.20
googleapis-common-protos==1.52.0
grpcio-tools==1.30.0
grpcio==1.30.0 # via grpcio-tools
h2==3.2.0
hpack==3.0.0
hyperframe==5.2.0
multidict==4.6.1
multidict==4.7.6
mypy-extensions==0.4.3 # via mypy
mypy-protobuf==1.16
mypy==0.761
protobuf==3.11.2
six==1.14.0 # via grpcio, protobuf
mypy-protobuf==1.23
mypy==0.782
protobuf==3.12.2
six==1.15.0 # via grpcio, protobuf
typed-ast==1.4.1 # via mypy
typing-extensions==3.7.4.1 # via mypy
typing-extensions==3.7.4.2 # via mypy
# The following packages are considered to be unsafe in a requirements file:
# setuptools

View File

@ -6,35 +6,35 @@
#
alabaster==0.7.12 # via sphinx
babel==2.8.0 # via sphinx
certifi==2019.11.28 # via requests
certifi==2020.6.20
chardet==3.0.4 # via requests
docutils==0.16 # via sphinx
googleapis-common-protos==1.51.0
h2==3.1.1
googleapis-common-protos==1.52.0
h2==3.2.0
hpack==3.0.0
hyperframe==5.2.0
idna==2.8 # via requests
idna==2.9 # via requests
imagesize==1.2.0 # via sphinx
jinja2==2.10.3 # via sphinx
jinja2==2.11.2 # via sphinx
markupsafe==1.1.1 # via jinja2
multidict==4.6.1
packaging==20.0 # via sphinx
protobuf==3.11.2
pygments==2.5.2 # via sphinx
pyparsing==2.4.6 # via packaging
pytz==2019.3 # via babel
requests==2.22.0 # via sphinx
six==1.14.0 # via packaging, protobuf
multidict==4.7.6
packaging==20.4 # via sphinx
protobuf==3.12.2
pygments==2.6.1 # via sphinx
pyparsing==2.4.7 # via packaging
pytz==2020.1 # via babel
requests==2.24.0 # via sphinx
six==1.15.0 # via packaging, protobuf
snowballstemmer==2.0.0 # via sphinx
sphinx-rtd-theme==0.4.3
sphinx==2.3.1
sphinxcontrib-applehelp==1.0.1 # via sphinx
sphinxcontrib-devhelp==1.0.1 # via sphinx
sphinxcontrib-htmlhelp==1.0.2 # via sphinx
sphinx-rtd-theme==0.5.0
sphinx==3.1.1
sphinxcontrib-applehelp==1.0.2 # via sphinx
sphinxcontrib-devhelp==1.0.2 # via sphinx
sphinxcontrib-htmlhelp==1.0.3 # via sphinx
sphinxcontrib-jsmath==1.0.1 # via sphinx
sphinxcontrib-qthelp==1.0.2 # via sphinx
sphinxcontrib-serializinghtml==1.1.3 # via sphinx
urllib3==1.25.7 # via requests
sphinxcontrib-qthelp==1.0.3 # via sphinx
sphinxcontrib-serializinghtml==1.1.4 # via sphinx
urllib3==1.25.9 # via requests
# The following packages are considered to be unsafe in a requirements file:
# setuptools

View File

@ -4,8 +4,9 @@
#
# pip-compile requirements/lint.in
#
entrypoints==0.3 # via flake8
flake8==3.7.9
flake8==3.8.3
importlib-metadata==1.6.1 # via flake8
mccabe==0.6.1 # via flake8
pycodestyle==2.5.0 # via flake8
pyflakes==2.1.1 # via flake8
pycodestyle==2.6.0 # via flake8
pyflakes==2.2.0 # via flake8
zipp==3.1.0 # via importlib-metadata

View File

@ -4,30 +4,32 @@
#
# pip-compile requirements/release.in
#
bleach==3.1.4 # via readme-renderer
certifi==2019.11.28 # via requests
bleach==3.1.5 # via readme-renderer
certifi==2020.6.20 # via requests
chardet==3.0.4 # via requests
docutils==0.16 # via readme-renderer
grpcio-tools==1.27.2 # via -r requirements/release.in
grpcio==1.27.2 # via grpcio-tools
h2==3.1.1 # via -r requirements/../setup.txt
hpack==3.0.0 # via -r requirements/../setup.txt, h2
hyperframe==5.2.0 # via -r requirements/../setup.txt, h2
grpcio-tools==1.30.0
grpcio==1.30.0 # via grpcio-tools
h2==3.2.0
hpack==3.0.0
hyperframe==5.2.0
idna==2.9 # via requests
importlib-metadata==1.6.0 # via keyring, twine
keyring==21.2.0 # via twine
multidict==4.6.1 # via -r requirements/../setup.txt
mypy-protobuf==1.20 # via -r requirements/release.in
importlib-metadata==1.6.1 # via keyring, twine
keyring==21.2.1 # via twine
multidict==4.7.6
mypy-protobuf==1.23
packaging==20.4 # via bleach
pkginfo==1.5.0.1 # via twine
protobuf==3.11.3 # via grpcio-tools, mypy-protobuf
protobuf==3.12.2 # via grpcio-tools, mypy-protobuf
pygments==2.6.1 # via readme-renderer
readme-renderer==25.0 # via twine
pyparsing==2.4.7 # via packaging
readme-renderer==26.0 # via twine
requests-toolbelt==0.9.1 # via twine
requests==2.23.0 # via requests-toolbelt, twine
six==1.14.0 # via bleach, grpcio, protobuf, readme-renderer
tqdm==4.44.1 # via twine
twine==3.1.1 # via -r requirements/release.in
urllib3==1.25.8 # via requests
requests==2.24.0 # via requests-toolbelt, twine
six==1.15.0 # via bleach, grpcio, packaging, protobuf, readme-renderer
tqdm==4.46.1 # via twine
twine==3.1.1
urllib3==1.25.9 # via requests
webencodings==0.5.1 # via bleach
zipp==3.1.0 # via importlib-metadata

View File

@ -5,13 +5,13 @@
# pip-compile requirements/runtime.in
#
certifi==2020.6.20
googleapis-common-protos==1.51.0
h2==3.1.1
googleapis-common-protos==1.52.0
h2==3.2.0
hpack==3.0.0
hyperframe==5.2.0
multidict==4.6.1
protobuf==3.11.2
six==1.14.0 # via protobuf
multidict==4.7.6
protobuf==3.12.2
six==1.15.0 # via protobuf
# The following packages are considered to be unsafe in a requirements file:
# setuptools

View File

@ -7,28 +7,28 @@
async-timeout==3.0.1
attrs==19.3.0 # via pytest
certifi==2020.6.20
coverage==5.0.3 # via pytest-cov
faker==4.0.0
googleapis-common-protos==1.51.0
h2==3.1.1
coverage==5.1 # via pytest-cov
faker==4.1.1
googleapis-common-protos==1.52.0
h2==3.2.0
hpack==3.0.0
hyperframe==5.2.0
importlib-metadata==1.4.0 # via pluggy, pytest
more-itertools==8.1.0 # via pytest, zipp
multidict==4.6.1
packaging==20.0 # via pytest
importlib-metadata==1.6.1 # via pluggy, pytest
more-itertools==8.4.0 # via pytest
multidict==4.7.6
packaging==20.4 # via pytest
pluggy==0.13.1 # via pytest
protobuf==3.11.2
py==1.8.1 # via pytest
pyparsing==2.4.6 # via packaging
pytest-asyncio==0.10.0
pytest-cov==2.8.1
pytest==5.3.3
protobuf==3.12.2
py==1.8.2 # via pytest
pyparsing==2.4.7 # via packaging
pytest-asyncio==0.12.0
pytest-cov==2.10.0
pytest==5.4.3
python-dateutil==2.8.1 # via faker
six==1.14.0 # via packaging, protobuf, python-dateutil
six==1.15.0 # via packaging, protobuf, python-dateutil
text-unidecode==1.3 # via faker
wcwidth==0.1.8 # via pytest
zipp==1.0.0 # via importlib-metadata
wcwidth==0.2.5 # via pytest
zipp==3.1.0 # via importlib-metadata
# The following packages are considered to be unsafe in a requirements file:
# setuptools

View File

@ -4,7 +4,7 @@
#
# pip-compile --output-file=setup.txt setup.py
#
h2==3.1.1
h2==3.2.0
hpack==3.0.0 # via h2
hyperframe==5.2.0 # via h2
multidict==4.6.1
multidict==4.7.6

View File

@ -18,6 +18,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='dummy',
syntax='proto3',
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_pb=b'\n\x0b\x64ummy.proto\x12\x05\x64ummy\"\x1d\n\x0c\x44ummyRequest\x12\r\n\x05value\x18\x01 \x01(\t\"\x1b\n\nDummyReply\x12\r\n\x05value\x18\x01 \x01(\t2\xfa\x01\n\x0c\x44ummyService\x12\x36\n\nUnaryUnary\x12\x13.dummy.DummyRequest\x1a\x11.dummy.DummyReply\"\x00\x12\x39\n\x0bUnaryStream\x12\x13.dummy.DummyRequest\x1a\x11.dummy.DummyReply\"\x00\x30\x01\x12\x39\n\x0bStreamUnary\x12\x13.dummy.DummyRequest\x1a\x11.dummy.DummyReply\"\x00(\x01\x12<\n\x0cStreamStream\x12\x13.dummy.DummyRequest\x1a\x11.dummy.DummyReply\"\x00(\x01\x30\x01\x62\x06proto3'
)
@ -30,6 +31,7 @@ _DUMMYREQUEST = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='value', full_name='dummy.DummyRequest.value', index=0,
@ -37,7 +39,7 @@ _DUMMYREQUEST = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -61,6 +63,7 @@ _DUMMYREPLY = _descriptor.Descriptor(
filename=None,
file=DESCRIPTOR,
containing_type=None,
create_key=_descriptor._internal_create_key,
fields=[
_descriptor.FieldDescriptor(
name='value', full_name='dummy.DummyReply.value', index=0,
@ -68,7 +71,7 @@ _DUMMYREPLY = _descriptor.Descriptor(
has_default_value=False, default_value=b"".decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
],
extensions=[
],
@ -111,6 +114,7 @@ _DUMMYSERVICE = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
create_key=_descriptor._internal_create_key,
serialized_start=83,
serialized_end=333,
methods=[
@ -122,6 +126,7 @@ _DUMMYSERVICE = _descriptor.ServiceDescriptor(
input_type=_DUMMYREQUEST,
output_type=_DUMMYREPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='UnaryStream',
@ -131,6 +136,7 @@ _DUMMYSERVICE = _descriptor.ServiceDescriptor(
input_type=_DUMMYREQUEST,
output_type=_DUMMYREPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='StreamUnary',
@ -140,6 +146,7 @@ _DUMMYSERVICE = _descriptor.ServiceDescriptor(
input_type=_DUMMYREQUEST,
output_type=_DUMMYREPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
_descriptor.MethodDescriptor(
name='StreamStream',
@ -149,6 +156,7 @@ _DUMMYSERVICE = _descriptor.ServiceDescriptor(
input_type=_DUMMYREQUEST,
output_type=_DUMMYREPLY,
serialized_options=None,
create_key=_descriptor._internal_create_key,
),
])
_sym_db.RegisterServiceDescriptor(_DUMMYSERVICE)