mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-20 04:37:04 +08:00
Extract grpcio plugins (#13896)
This commit is contained in:
1 parent
5991c939f1
commit
a43e0a4c02
31 files changed
+16
-13
No files matched your search
@@ -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