Skip to content

gRPC python type stubs not accurately reflecting runtime #21691

@Avasam

Description

@Avasam

What version of protobuf and what language are you using?
Version: grpcio 1.71.0
Language: Python

What operating system (Linux, Windows, ...) and version?
N/A

What runtime / compiler are you using (e.g., python version or gcc version)
python?

What did you do?
I'm migrating the following issues over from https://github.com/grpc/grpc:

Ran stubtest on grpcio-reflection, grpcio-health-checking and grpcio-channelz. In my case it was in the context of running it on Typeshed:

  1. Clone typeshed at or after this commit: python/typeshed@a43e0a4
  2. Copy grpc's
    2.1. grpc_reflection/v1alpha/reflection_pb2.pyi over typeshed's stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi
    2.2. grpcio-health-checking/grpc_health/v1/health_pb2.pyi over typeshed's stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi
    2.3. grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi over typeshed's stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi
  3. run pip install -r requirements-tests.txt
  4. run python ./tests/stubtest_third_party.py grpcio-reflection

What did you expect to see
No stubtest error for *_pb2.pyi files. Meaning they correctly reflect runtime.

What did you see instead?

`grpcio-reflection`
grpcio-reflection... (6.27 s) fail

**********************************************************************

Commands run:

/tmp/stubtest-ats7qbgg/bin/pip install grpcio-reflection[]==1.* mypy==1.15.0
MYPYPATH=stubs/grpcio-reflection:stubs/protobuf:stubs/grpcio /tmp/stubtest-ats7qbgg/bin/python -m mypy.stubtest --custom-typeshed-dir . grpc_reflection

**********************************************************************

Command output:

error: grpc_reflection.v1alpha.reflection_pb2.ErrorResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:76
<TypeInfo grpc_reflection.v1alpha.reflection_pb2.ErrorResponse>
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'grpc_reflection.v1alpha.reflection_pb2.ErrorResponse'>

error: grpc_reflection.v1alpha.reflection_pb2.ErrorResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:76
N/A
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_reflection.v1alpha.reflection_pb2.ErrorResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:77
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_reflection.v1alpha.reflection_pb2.ExtensionNumberResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:56
<TypeInfo grpc_reflection.v1alpha.reflection_pb2.ExtensionNumberResponse>
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'grpc_reflection.v1alpha.reflection_pb2.ExtensionNumberResponse'>

error: grpc_reflection.v1alpha.reflection_pb2.ExtensionNumberResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:56
N/A
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_reflection.v1alpha.reflection_pb2.ExtensionNumberResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:57
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_reflection.v1alpha.reflection_pb2.ExtensionRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:26
<TypeInfo grpc_reflection.v1alpha.reflection_pb2.ExtensionRequest>
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'grpc_reflection.v1alpha.reflection_pb2.ExtensionRequest'>

error: grpc_reflection.v1alpha.reflection_pb2.ExtensionRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:26
N/A
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_reflection.v1alpha.reflection_pb2.ExtensionRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:27
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_reflection.v1alpha.reflection_pb2.FileDescriptorResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:50
<TypeInfo grpc_reflection.v1alpha.reflection_pb2.FileDescriptorResponse>
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'grpc_reflection.v1alpha.reflection_pb2.FileDescriptorResponse'>

error: grpc_reflection.v1alpha.reflection_pb2.FileDescriptorResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:50
N/A
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_reflection.v1alpha.reflection_pb2.FileDescriptorResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:51
tuple[builtins.str]
Runtime:
()

error: grpc_reflection.v1alpha.reflection_pb2.ListServiceResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:64
<TypeInfo grpc_reflection.v1alpha.reflection_pb2.ListServiceResponse>
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'grpc_reflection.v1alpha.reflection_pb2.ListServiceResponse'>

error: grpc_reflection.v1alpha.reflection_pb2.ListServiceResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:64
N/A
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_reflection.v1alpha.reflection_pb2.ListServiceResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:65
tuple[builtins.str]
Runtime:
()

error: grpc_reflection.v1alpha.reflection_pb2.ServerReflectionRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:10
<TypeInfo grpc_reflection.v1alpha.reflection_pb2.ServerReflectionRequest>
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'grpc_reflection.v1alpha.reflection_pb2.ServerReflectionRequest'>

error: grpc_reflection.v1alpha.reflection_pb2.ServerReflectionRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:10
N/A
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_reflection.v1alpha.reflection_pb2.ServerReflectionRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:11
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_reflection.v1alpha.reflection_pb2.ServerReflectionResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:34
<TypeInfo grpc_reflection.v1alpha.reflection_pb2.ServerReflectionResponse>
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'grpc_reflection.v1alpha.reflection_pb2.ServerReflectionResponse'>

error: grpc_reflection.v1alpha.reflection_pb2.ServerReflectionResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:34
N/A
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_reflection.v1alpha.reflection_pb2.ServerReflectionResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:35
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_reflection.v1alpha.reflection_pb2.ServiceResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:70
<TypeInfo grpc_reflection.v1alpha.reflection_pb2.ServiceResponse>
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'grpc_reflection.v1alpha.reflection_pb2.ServiceResponse'>

error: grpc_reflection.v1alpha.reflection_pb2.ServiceResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:70
N/A
Runtime: in file /tmp/stubtest-ats7qbgg/lib/python3.13/site-packages/grpc_reflection/v1alpha/reflection_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_reflection.v1alpha.reflection_pb2.ServiceResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-reflection/grpc_reflection/v1alpha/reflection_pb2.pyi:71
tuple[builtins.str]
Runtime:
()

error: grpc_reflection.v1alpha.proto_reflection_descriptor_database failed to find stubs
Stub:
MISSING
Runtime:
N/A

Found 25 errors (checked 8 modules)
`grpcio-health-checking`
grpcio-health-checking... (5.92 s) fail

**********************************************************************

Commands run:

/tmp/stubtest-jua4nvkp/bin/pip install grpcio-health-checking[]==1.* mypy==1.15.0
MYPYPATH=stubs/grpcio-health-checking:stubs/protobuf:stubs/grpcio /tmp/stubtest-jua4nvkp/bin/python -m mypy.stubtest --custom-typeshed-dir . grpc_health

**********************************************************************

Command output:

error: grpc_health.v1.health_pb2.HealthCheckRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:8
<TypeInfo grpc_health.v1.health_pb2.HealthCheckRequest>
Runtime: in file /tmp/stubtest-jua4nvkp/lib/python3.13/site-packages/grpc_health/v1/health_pb2.py
<class 'grpc_health.v1.health_pb2.HealthCheckRequest'>

error: grpc_health.v1.health_pb2.HealthCheckRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:8
N/A
Runtime: in file /tmp/stubtest-jua4nvkp/lib/python3.13/site-packages/grpc_health/v1/health_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_health.v1.health_pb2.HealthCheckRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:9
tuple[builtins.str]
Runtime:
()

error: grpc_health.v1.health_pb2.HealthCheckResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:14
<TypeInfo grpc_health.v1.health_pb2.HealthCheckResponse>
Runtime: in file /tmp/stubtest-jua4nvkp/lib/python3.13/site-packages/grpc_health/v1/health_pb2.py
<class 'grpc_health.v1.health_pb2.HealthCheckResponse'>

error: grpc_health.v1.health_pb2.HealthCheckResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:14
N/A
Runtime: in file /tmp/stubtest-jua4nvkp/lib/python3.13/site-packages/grpc_health/v1/health_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_health.v1.health_pb2.HealthCheckResponse.NOT_SERVING variable differs from runtime type Literal[2]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:24
grpc_health.v1.health_pb2.HealthCheckResponse.ServingStatus
Runtime:
2

error: grpc_health.v1.health_pb2.HealthCheckResponse.SERVICE_UNKNOWN variable differs from runtime type Literal[3]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:25
grpc_health.v1.health_pb2.HealthCheckResponse.ServingStatus
Runtime:
3

error: grpc_health.v1.health_pb2.HealthCheckResponse.SERVING variable differs from runtime type Literal[1]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:23
grpc_health.v1.health_pb2.HealthCheckResponse.ServingStatus
Runtime:
1

error: grpc_health.v1.health_pb2.HealthCheckResponse.ServingStatus is not a type
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:16
<TypeInfo grpc_health.v1.health_pb2.HealthCheckResponse.ServingStatus>
Runtime:
<google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object at 0x7f8aa7bf1550>

error: grpc_health.v1.health_pb2.HealthCheckResponse.UNKNOWN variable differs from runtime type Literal[0]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:22
grpc_health.v1.health_pb2.HealthCheckResponse.ServingStatus
Runtime:
0

error: grpc_health.v1.health_pb2.HealthCheckResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-health-checking/grpc_health/v1/health_pb2.pyi:15
tuple[builtins.str]
Runtime:
()

Found 11 errors (checked 6 modules)
`grpcio-channelz
grpcio-channelz... (6.32 s) fail

**********************************************************************

Commands run:

/tmp/stubtest-khawxkxs/bin/pip install grpcio-channelz[]==1.* mypy==1.15.0
MYPYPATH=stubs/grpcio-channelz:stubs/protobuf:stubs/grpcio /tmp/stubtest-khawxkxs/bin/python -m mypy.stubtest --custom-typeshed-dir . grpc_channelz

**********************************************************************

Command output:

error: grpc_channelz.v1.channelz_pb2.Address cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:212
<TypeInfo grpc_channelz.v1.channelz_pb2.Address>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.Address'>

error: grpc_channelz.v1.channelz_pb2.Address is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:212
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Address.OtherAddress cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:226
<TypeInfo grpc_channelz.v1.channelz_pb2.Address.OtherAddress>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.OtherAddress'>

error: grpc_channelz.v1.channelz_pb2.Address.OtherAddress is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:226
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Address.OtherAddress.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:227
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Address.TcpIpAddress cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:214
<TypeInfo grpc_channelz.v1.channelz_pb2.Address.TcpIpAddress>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.TcpIpAddress'>

error: grpc_channelz.v1.channelz_pb2.Address.TcpIpAddress is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:214
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Address.TcpIpAddress.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:215
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Address.UdsAddress cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:221
<TypeInfo grpc_channelz.v1.channelz_pb2.Address.UdsAddress>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.UdsAddress'>

error: grpc_channelz.v1.channelz_pb2.Address.UdsAddress is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:221
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Address.UdsAddress.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:222
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Address.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:213
tuple[builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Channel cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:10
<TypeInfo grpc_channelz.v1.channelz_pb2.Channel>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.Channel'>

error: grpc_channelz.v1.channelz_pb2.Channel is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:10
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Channel.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:11
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:38
<TypeInfo grpc_channelz.v1.channelz_pb2.ChannelConnectivityState>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.ChannelConnectivityState'>

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:38
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.CONNECTING variable differs from runtime type Literal[2]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:50
grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.State
Runtime:
2

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.IDLE variable differs from runtime type Literal[1]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:49
grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.State
Runtime:
1

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.READY variable differs from runtime type Literal[3]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:51
grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.State
Runtime:
3

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.SHUTDOWN variable differs from runtime type Literal[5]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:53
grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.State
Runtime:
5

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.State is not a type
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:40
<TypeInfo grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.State>
Runtime:
<google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object at 0x7fe46b3d9e80>

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.TRANSIENT_FAILURE variable differs from runtime type Literal[4]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:52
grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.State
Runtime:
4

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.UNKNOWN variable differs from runtime type Literal[0]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:48
grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.State
Runtime:
0

error: grpc_channelz.v1.channelz_pb2.ChannelConnectivityState.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:39
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.ChannelData cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:58
<TypeInfo grpc_channelz.v1.channelz_pb2.ChannelData>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.ChannelData'>

error: grpc_channelz.v1.channelz_pb2.ChannelData is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:58
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.ChannelData.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:59
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.ChannelRef cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:110
<TypeInfo grpc_channelz.v1.channelz_pb2.ChannelRef>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.ChannelRef'>

error: grpc_channelz.v1.channelz_pb2.ChannelRef is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:110
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.ChannelRef.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:111
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.ChannelTrace cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:100
<TypeInfo grpc_channelz.v1.channelz_pb2.ChannelTrace>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.ChannelTrace'>

error: grpc_channelz.v1.channelz_pb2.ChannelTrace is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:100
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.ChannelTrace.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:101
tuple[builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.ChannelTraceEvent cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:76
<TypeInfo grpc_channelz.v1.channelz_pb2.ChannelTraceEvent>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.ChannelTraceEvent'>

error: grpc_channelz.v1.channelz_pb2.ChannelTraceEvent is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:76
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.CT_ERROR variable differs from runtime type Literal[3]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:87
grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.Severity
Runtime:
3

error: grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.CT_INFO variable differs from runtime type Literal[1]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:85
grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.Severity
Runtime:
1

error: grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.CT_UNKNOWN variable differs from runtime type Literal[0]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:84
grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.Severity
Runtime:
0

error: grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.CT_WARNING variable differs from runtime type Literal[2]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:86
grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.Severity
Runtime:
2

error: grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.Severity is not a type
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:78
<TypeInfo grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.Severity>
Runtime:
<google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper object at 0x7fe46b3eca50>

error: grpc_channelz.v1.channelz_pb2.ChannelTraceEvent.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:77
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetChannelRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:415
<TypeInfo grpc_channelz.v1.channelz_pb2.GetChannelRequest>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetChannelRequest'>

error: grpc_channelz.v1.channelz_pb2.GetChannelRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:415
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetChannelRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:416
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetChannelResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:421
<TypeInfo grpc_channelz.v1.channelz_pb2.GetChannelResponse>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetChannelResponse'>

error: grpc_channelz.v1.channelz_pb2.GetChannelResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:421
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetChannelResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:422
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetServerRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:385
<TypeInfo grpc_channelz.v1.channelz_pb2.GetServerRequest>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetServerRequest'>

error: grpc_channelz.v1.channelz_pb2.GetServerRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:385
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetServerRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:386
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetServerResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:391
<TypeInfo grpc_channelz.v1.channelz_pb2.GetServerResponse>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetServerResponse'>

error: grpc_channelz.v1.channelz_pb2.GetServerResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:391
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetServerResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:392
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetServerSocketsRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:397
<TypeInfo grpc_channelz.v1.channelz_pb2.GetServerSocketsRequest>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetServerSocketsRequest'>

error: grpc_channelz.v1.channelz_pb2.GetServerSocketsRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:397
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetServerSocketsRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:398
tuple[builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetServerSocketsResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:407
<TypeInfo grpc_channelz.v1.channelz_pb2.GetServerSocketsResponse>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetServerSocketsResponse'>

error: grpc_channelz.v1.channelz_pb2.GetServerSocketsResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:407
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetServerSocketsResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:408
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetServersRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:369
<TypeInfo grpc_channelz.v1.channelz_pb2.GetServersRequest>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetServersRequest'>

error: grpc_channelz.v1.channelz_pb2.GetServersRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:369
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetServersRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:370
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetServersResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:377
<TypeInfo grpc_channelz.v1.channelz_pb2.GetServersResponse>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetServersResponse'>

error: grpc_channelz.v1.channelz_pb2.GetServersResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:377
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetServersResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:378
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetSocketRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:439
<TypeInfo grpc_channelz.v1.channelz_pb2.GetSocketRequest>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetSocketRequest'>

error: grpc_channelz.v1.channelz_pb2.GetSocketRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:439
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetSocketRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:440
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetSocketResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:447
<TypeInfo grpc_channelz.v1.channelz_pb2.GetSocketResponse>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetSocketResponse'>

error: grpc_channelz.v1.channelz_pb2.GetSocketResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:447
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetSocketResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:448
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetSubchannelRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:427
<TypeInfo grpc_channelz.v1.channelz_pb2.GetSubchannelRequest>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetSubchannelRequest'>

error: grpc_channelz.v1.channelz_pb2.GetSubchannelRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:427
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetSubchannelRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:428
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetSubchannelResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:433
<TypeInfo grpc_channelz.v1.channelz_pb2.GetSubchannelResponse>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetSubchannelResponse'>

error: grpc_channelz.v1.channelz_pb2.GetSubchannelResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:433
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetSubchannelResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:434
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetTopChannelsRequest cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:353
<TypeInfo grpc_channelz.v1.channelz_pb2.GetTopChannelsRequest>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetTopChannelsRequest'>

error: grpc_channelz.v1.channelz_pb2.GetTopChannelsRequest is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:353
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetTopChannelsRequest.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:354
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.GetTopChannelsResponse cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:361
<TypeInfo grpc_channelz.v1.channelz_pb2.GetTopChannelsResponse>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.GetTopChannelsResponse'>

error: grpc_channelz.v1.channelz_pb2.GetTopChannelsResponse is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:361
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.GetTopChannelsResponse.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:362
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Security cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:241
<TypeInfo grpc_channelz.v1.channelz_pb2.Security>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.Security'>

error: grpc_channelz.v1.channelz_pb2.Security is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:241
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Security.OtherSecurity cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:254
<TypeInfo grpc_channelz.v1.channelz_pb2.Security.OtherSecurity>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.OtherSecurity'>

error: grpc_channelz.v1.channelz_pb2.Security.OtherSecurity is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:254
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Security.OtherSecurity.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:255
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Security.Tls cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:243
<TypeInfo grpc_channelz.v1.channelz_pb2.Security.Tls>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.Tls'>

error: grpc_channelz.v1.channelz_pb2.Security.Tls is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:243
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Security.Tls.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:244
tuple[builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Security.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:242
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Server cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:142
<TypeInfo grpc_channelz.v1.channelz_pb2.Server>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.Server'>

error: grpc_channelz.v1.channelz_pb2.Server is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:142
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Server.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:143
tuple[builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.ServerData cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:152
<TypeInfo grpc_channelz.v1.channelz_pb2.ServerData>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.ServerData'>

error: grpc_channelz.v1.channelz_pb2.ServerData is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:152
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.ServerData.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:153
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.ServerRef cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:134
<TypeInfo grpc_channelz.v1.channelz_pb2.ServerRef>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.ServerRef'>

error: grpc_channelz.v1.channelz_pb2.ServerRef is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:134
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.ServerRef.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:135
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Socket cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:166
<TypeInfo grpc_channelz.v1.channelz_pb2.Socket>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.Socket'>

error: grpc_channelz.v1.channelz_pb2.Socket is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:166
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Socket.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:167
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.SocketData cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:182
<TypeInfo grpc_channelz.v1.channelz_pb2.SocketData>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.SocketData'>

error: grpc_channelz.v1.channelz_pb2.SocketData is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:182
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.SocketData.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:183
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.SocketOption cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:267
<TypeInfo grpc_channelz.v1.channelz_pb2.SocketOption>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.SocketOption'>

error: grpc_channelz.v1.channelz_pb2.SocketOption is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:267
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.SocketOption.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:268
tuple[builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.SocketOptionLinger cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:283
<TypeInfo grpc_channelz.v1.channelz_pb2.SocketOptionLinger>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.SocketOptionLinger'>

error: grpc_channelz.v1.channelz_pb2.SocketOptionLinger is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:283
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.SocketOptionLinger.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:284
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.SocketOptionTcpInfo cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:291
<TypeInfo grpc_channelz.v1.channelz_pb2.SocketOptionTcpInfo>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.SocketOptionTcpInfo'>

error: grpc_channelz.v1.channelz_pb2.SocketOptionTcpInfo is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:291
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.SocketOptionTcpInfo.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:292
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.SocketOptionTimeout cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:277
<TypeInfo grpc_channelz.v1.channelz_pb2.SocketOptionTimeout>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.SocketOptionTimeout'>

error: grpc_channelz.v1.channelz_pb2.SocketOptionTimeout is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:277
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.SocketOptionTimeout.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:278
tuple[builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.SocketRef cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:126
<TypeInfo grpc_channelz.v1.channelz_pb2.SocketRef>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.SocketRef'>

error: grpc_channelz.v1.channelz_pb2.SocketRef is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:126
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.SocketRef.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:127
tuple[builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.Subchannel cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:24
<TypeInfo grpc_channelz.v1.channelz_pb2.Subchannel>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.Subchannel'>

error: grpc_channelz.v1.channelz_pb2.Subchannel is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:24
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.Subchannel.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:25
tuple[builtins.str, builtins.str, builtins.str, builtins.str, builtins.str]
Runtime:
()

error: grpc_channelz.v1.channelz_pb2.SubchannelRef cannot be subclassed at runtime, but isn't marked with @final in the stub
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:118
<TypeInfo grpc_channelz.v1.channelz_pb2.SubchannelRef>
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'grpc_channelz.v1.channelz_pb2.SubchannelRef'>

error: grpc_channelz.v1.channelz_pb2.SubchannelRef is inconsistent, metaclass differs
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:118
N/A
Runtime: in file /tmp/stubtest-khawxkxs/lib/python3.13/site-packages/grpc_channelz/v1/channelz_pb2.py
<class 'google._upb._message.MessageMeta'>

error: grpc_channelz.v1.channelz_pb2.SubchannelRef.__slots__ variable differs from runtime type tuple[()]
Stub: in file /home/runner/work/typeshed/typeshed/stubs/grpcio-channelz/grpc_channelz/v1/channelz_pb2.pyi:119
tuple[builtins.str, builtins.str]
Runtime:
()

Found 129 errors (checked 7 modules)

In summary:

  • Classes are not marked as final using the @typing.final decorator
  • The stubs indicate classes have __slots__, when runtime doesn't
  • Classes in the stubs are all missing the google._upb._message.MessageMeta metaclass
  • DESCRIPTOR is actually from google._upb._message
  • Enum-like class difference *
    * (it looks like you're doing some kind of branded types, might be fine on usage, even if it doesn't exactly exposes what's at runtime)

Anything else we should know about your project / environment

This is stubtest: https://mypy.readthedocs.io/en/stable/stubtest.html

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions