Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions google/api_core/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,7 @@ class Cancelled(ClientError):
"""Exception mapping a :attr:`grpc.StatusCode.CANCELLED` error."""

# This maps to HTTP status code 499. See
# https://github.com/googleapis/googleapis/blob/master/google/rpc\
# /code.proto
# https://github.com/googleapis/googleapis/blob/main/google/rpc/code.proto
code = 499
grpc_status_code = grpc.StatusCode.CANCELLED if grpc is not None else None

Expand Down
2 changes: 1 addition & 1 deletion google/api_core/operations_v1/operations_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
https://cloud.google.com/apis/design/design_pattern
s#long_running_operations
.. _google/longrunning/operations.proto:
https://github.com/googleapis/googleapis/blob/master/google/longrunning
https://github.com/googleapis/googleapis/blob/main/google/longrunning
/operations.proto
"""

Expand Down
2 changes: 1 addition & 1 deletion google/api_core/operations_v1/operations_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
https://cloud.google.com/apis/design/design_pattern
s#long_running_operations
.. _google/longrunning/operations.proto:
https://github.com/googleapis/googleapis/blob/master/google/longrunning
https://github.com/googleapis/googleapis/blob/main/google/longrunning
/operations.proto
"""

Expand Down