Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 06d11c6

Browse filesBrowse files
feat: Add support for python 3.11 (#461)
* feat: Add support for python 3.11 chore: Update gapic-generator-python to v1.8.0 PiperOrigin-RevId: 500768693 Source-Link: googleapis/googleapis@190b612 Source-Link: https://github.com/googleapis/googleapis-gen/commit/7bf29a414b9ecac3170f0b65bdc2a95705c0ef1a Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2JmMjlhNDE0YjllY2FjMzE3MGYwYjY1YmRjMmE5NTcwNWMwZWYxYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * require proto-plus 1.22.2 for python 3.11 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent 32fd54e commit 06d11c6
Copy full SHA for 06d11c6

File tree

Expand file treeCollapse file tree

12 files changed

+18
-10
lines changed
Filter options
Expand file treeCollapse file tree

12 files changed

+18
-10
lines changed

‎google/cloud/automl_v1/services/auto_ml/async_client.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/services/auto_ml/async_client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def get_mtls_endpoint_and_cert_source(
164164
The API endpoint is determined in the following order:
165165
(1) if `client_options.api_endpoint` if provided, use the provided one.
166166
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
167-
default mTLS endpoint; if the environment variabel is "never", use the default API
167+
default mTLS endpoint; if the environment variable is "never", use the default API
168168
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
169169
use the default API endpoint.
170170

‎google/cloud/automl_v1/services/auto_ml/client.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/services/auto_ml/client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def get_mtls_endpoint_and_cert_source(
392392
The API endpoint is determined in the following order:
393393
(1) if `client_options.api_endpoint` if provided, use the provided one.
394394
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
395-
default mTLS endpoint; if the environment variabel is "never", use the default API
395+
default mTLS endpoint; if the environment variable is "never", use the default API
396396
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
397397
use the default API endpoint.
398398

‎google/cloud/automl_v1/services/prediction_service/async_client.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/services/prediction_service/async_client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def get_mtls_endpoint_and_cert_source(
142142
The API endpoint is determined in the following order:
143143
(1) if `client_options.api_endpoint` if provided, use the provided one.
144144
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
145-
default mTLS endpoint; if the environment variabel is "never", use the default API
145+
default mTLS endpoint; if the environment variable is "never", use the default API
146146
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
147147
use the default API endpoint.
148148

‎google/cloud/automl_v1/services/prediction_service/client.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1/services/prediction_service/client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def get_mtls_endpoint_and_cert_source(
298298
The API endpoint is determined in the following order:
299299
(1) if `client_options.api_endpoint` if provided, use the provided one.
300300
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
301-
default mTLS endpoint; if the environment variabel is "never", use the default API
301+
default mTLS endpoint; if the environment variable is "never", use the default API
302302
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
303303
use the default API endpoint.
304304

‎google/cloud/automl_v1beta1/services/auto_ml/async_client.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1beta1/services/auto_ml/async_client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def get_mtls_endpoint_and_cert_source(
176176
The API endpoint is determined in the following order:
177177
(1) if `client_options.api_endpoint` if provided, use the provided one.
178178
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
179-
default mTLS endpoint; if the environment variabel is "never", use the default API
179+
default mTLS endpoint; if the environment variable is "never", use the default API
180180
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
181181
use the default API endpoint.
182182

‎google/cloud/automl_v1beta1/services/auto_ml/client.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1beta1/services/auto_ml/client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ def get_mtls_endpoint_and_cert_source(
450450
The API endpoint is determined in the following order:
451451
(1) if `client_options.api_endpoint` if provided, use the provided one.
452452
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
453-
default mTLS endpoint; if the environment variabel is "never", use the default API
453+
default mTLS endpoint; if the environment variable is "never", use the default API
454454
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
455455
use the default API endpoint.
456456

‎google/cloud/automl_v1beta1/services/prediction_service/async_client.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1beta1/services/prediction_service/async_client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def get_mtls_endpoint_and_cert_source(
142142
The API endpoint is determined in the following order:
143143
(1) if `client_options.api_endpoint` if provided, use the provided one.
144144
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
145-
default mTLS endpoint; if the environment variabel is "never", use the default API
145+
default mTLS endpoint; if the environment variable is "never", use the default API
146146
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
147147
use the default API endpoint.
148148

‎google/cloud/automl_v1beta1/services/prediction_service/client.py

Copy file name to clipboardExpand all lines: google/cloud/automl_v1beta1/services/prediction_service/client.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def get_mtls_endpoint_and_cert_source(
298298
The API endpoint is determined in the following order:
299299
(1) if `client_options.api_endpoint` if provided, use the provided one.
300300
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
301-
default mTLS endpoint; if the environment variabel is "never", use the default API
301+
default mTLS endpoint; if the environment variable is "never", use the default API
302302
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
303303
use the default API endpoint.
304304

‎samples/generated_samples/snippet_metadata_google.cloud.automl.v1.json

Copy file name to clipboardExpand all lines: samples/generated_samples/snippet_metadata_google.cloud.automl.v1.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-automl",
11-
"version": "2.9.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

‎samples/generated_samples/snippet_metadata_google.cloud.automl.v1beta1.json

Copy file name to clipboardExpand all lines: samples/generated_samples/snippet_metadata_google.cloud.automl.v1beta1.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-automl",
11-
"version": "2.9.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
dependencies = [
3939
"google-api-core[grpc] >= 1.34.0, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,!=2.10.*",
4040
"proto-plus >= 1.22.0, <2.0.0dev",
41+
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
4142
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
4243
]
4344
extras = {
@@ -82,6 +83,7 @@
8283
"Programming Language :: Python :: 3.8",
8384
"Programming Language :: Python :: 3.9",
8485
"Programming Language :: Python :: 3.10",
86+
"Programming Language :: Python :: 3.11",
8587
"Operating System :: OS Independent",
8688
"Topic :: Internet",
8789
],

‎testing/constraints-3.12.txt

Copy file name to clipboard
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# -*- coding: utf-8 -*-
2+
# This constraints file is required for unit tests.
3+
# List all library dependencies and extras in this file.
4+
google-api-core
5+
proto-plus
6+
protobuf

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.