mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-14 12:01:06 +08:00
Extract grpcio plugins (#13896)
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import cast
|
||||
|
||||
import grpc
|
||||
from grpc_reflection.v1alpha.reflection import enable_server_reflection
|
||||
|
||||
server = cast(grpc.Server, None)
|
||||
enable_server_reflection(["foo"], server, None)
|
||||
@@ -1,9 +0,0 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import cast
|
||||
|
||||
import grpc.aio
|
||||
from grpc_reflection.v1alpha.reflection import enable_server_reflection
|
||||
|
||||
server = cast(grpc.aio.Server, None)
|
||||
enable_server_reflection(["foo"], server, None)
|
||||
Reference in New Issue
Block a user