Upgrade python-api-core to v2.24.1 This project was upgraded with external_updater. Usage: tools/external_updater/updater.sh update external/python/python-api-core For more info, check https://cs.android.com/android/platform/superproject/main/+/main:tools/external_updater/README.md Test: TreeHugger Change-Id: I86c1c34c9331d0db3b1c765ebfeb8cb32e0ae57d
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..6c3c2bb --- /dev/null +++ b/Android.bp
@@ -0,0 +1,42 @@ +// Copyright 2022 Google Inc. 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. + +package { + default_applicable_licenses: ["external_python_python-api-core_license"], +} + +// Added automatically by a large-scale-change +// See: http://go/android-license-faq +license { + name: "external_python_python-api-core_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + ], + license_text: [ + "LICENSE", + ], +} + +python_library { + name: "py-python-api-core", + host_supported: true, + srcs: [ + "google/api_core/future/*.py", + "google/api_core/gapic_v1/*.py", + "google/api_core/operations_v1/*.py", + "google/api_core/operations_v1/transports/*.py", + "google/api_core/*.py", + ], +}
diff --git a/METADATA b/METADATA new file mode 100644 index 0000000..559918d --- /dev/null +++ b/METADATA
@@ -0,0 +1,20 @@ +# This project was upgraded with external_updater. +# Usage: tools/external_updater/updater.sh update external/python/python-api-core +# For more info, check https://cs.android.com/android/platform/superproject/main/+/main:tools/external_updater/README.md + +name: "python-api-core" +description: "This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients." +third_party { + license_type: NOTICE + last_upgrade_date { + year: 2025 + month: 1 + day: 29 + } + homepage: "https://pypi.org/project/google-api-core/" + identifier { + type: "Git" + value: "https://github.com/googleapis/python-api-core" + version: "v2.24.1" + } +}
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/MODULE_LICENSE_APACHE2
diff --git a/NOTICE b/NOTICE new file mode 120000 index 0000000..7a694c9 --- /dev/null +++ b/NOTICE
@@ -0,0 +1 @@ +LICENSE \ No newline at end of file