1
0
python-googleapis-common-pr.../test_google_api_error_reason.py
Matej Cepl 9e06cf62dd Accepting request 973992 from home:mcepl:branches:devel:languages:python
- Upgrade to 1.56.0:
  - add google/api/error_reason.proto (62c04b8)
  - add google/api/visibility.proto (62c04b8)
  - add google/type/decimal.proto (62c04b8)
  - add google/type/interval.proto (62c04b8)
  - add google/type/localized_text.proto (62c04b8)
  - add google/type/phone_number.proto (62c04b8)
  - update all protos and pb2 files (62c04b8)
  - expose all names in longrunning _pb2's (#90) (09e9ccd)
  - re-generate pb2 files (#87) (6260547)
  - re-generate pb2 files using grpcio-tools<1.44.0 (#93) (76bb9f6)
  - remove deprecated fields aliases and features from google/api/endpoint.proto (62c04b8)
- Upgrade to 1.55.0:
  - add location proto files. (#84) (9a33e56)
- Upgrade to 1.54.0:
  - add extended_operations.proto (#77) (bc85849)
  - add google/api/routing.proto (#75) (1ae0bbc)
- Upgrade to 1.53.0:
  - add google.api.ResourceDescriptor.Style (4ce679c)
  - add API method signatures to longrunning operations (8de7ae2)
  - add gapic_metadata_pb2 (#38) (8de7ae2)
  - add UNORDERED_LIST to field options (8de7ae2)
  - add WaitOperation method to longrunning operations (8de7ae2)
  - add google.api.ResourceDescriptor.Style (4ce679c)
  - require python >=3.6 and (#31) (4ce679c)
  - add create_key to FieldDescriptors (4ce679c)
  - Generate gRPC files for long-running operations (#13) (a9ce288)
  - add link to PyPI (#10) (3f79402)
  - add create_key to FieldDescriptors (4ce679c)
  - Generate gRPC files for long-running operations (#13) (a9ce288)
  - add link to PyPI (#10) (3f79402)

OBS-URL: https://build.opensuse.org/request/show/973992
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-googleapis-common-protos?expand=0&rev=16
2022-04-29 22:00:45 +00:00

19 lines
663 B
Python

# Copyright 2022 Google LLC All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
def test_error_reason():
from google.api import error_reason_pb2