| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| _datastore_pb2.AllocateIdsResponse) | ||
|
|
||
|
|
||
| def _grpc_catch_rendezvous(to_call, *args, **kwargs): |
|
@jonparrott @daspecster PTAL |
Sorry, something went wrong.
|
I like this better IMHO. |
Sorry, something went wrong.
|
FYI I am toying with Circle CI. Looks like Travis is being helpful for the time being though |
Sorry, something went wrong.
|
Sorry to be late to the party. Wouldn't the _GRPC_ERROR_MAPPING and _grpc_catch_rendezvous bits logically live in cloud/google/cloud/exceptions.py? I presume we might want to use them in other APIs. |
Sorry, something went wrong.
|
@tseaver I intentionally didn't do that, mindful of two things:
|
Sorry, something went wrong.
|
@dhermes FWIW, anywhere we are currently sniffing at StatusCode STM to be a candidate: core/google/cloud/_testing.py
core/google/cloud/streaming/exceptions.py
core/google/cloud/streaming/http_wrapper.py
core/unit_tests/streaming/test_http_wrapper.py
datastore/google/cloud/datastore/_generated/datastore_grpc_pb2.py
datastore/google/cloud/datastore/connection.py
datastore/unit_tests/test_connection.py
docs/error-reporting-usage.rst
error_reporting/google/cloud/error_reporting/client.py
error_reporting/unit_tests/test_client.py
logging/google/cloud/logging/_gax.py
pubsub/google/cloud/pubsub/_gax.py |
Sorry, something went wrong.
|
OK. |
Sorry, something went wrong.
Remapping (almost) all RPC status codes to our exceptions in datastore.
Remapping (almost) all RPC status codes to our exceptions in datastore.
Co-authored-by: Kevin Zheng <147537668+gkevinzheng@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Fixes #2497.
(Relevant to #2583 as well.)
FYI @jonparrott