File tree Expand file tree Collapse file tree 3 files changed +3
-16
lines changed Expand file tree Collapse file tree 3 files changed +3
-16
lines changed Original file line number Diff line number Diff line change 45
45
" stubs/geopandas" ,
46
46
" stubs/google-cloud-ndb" ,
47
47
" stubs/grpcio/grpc/__init__.pyi" ,
48
+ " stubs/grpcio/grpc_status/rpc_status.pyi" ,
48
49
" stubs/hdbcli/hdbcli/dbapi.pyi" ,
49
50
" stubs/html5lib" ,
50
51
" stubs/httplib2" ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- from typing import Any
2
-
3
1
import grpc
4
2
5
- # XXX: don't yet know how to add a stub for google.rpc.status_pb2.Status
6
- # without affecting other stuff; may need to make a stub-only package for
7
- # google.rpc as well.
8
-
9
3
# Returns a google.rpc.status.Status message corresponding to a given grpc.Call.
10
- def from_call (call : grpc .Call ) -> Any : ...
4
+ def from_call (call : grpc .Call ): ...
11
5
12
6
# Convert a google.rpc.status.Status message to grpc.Status.
13
- def to_status (status : Any ) -> grpc .Status : ...
7
+ def to_status (status ) -> grpc .Status : ...
You can’t perform that action at this time.
0 commit comments