8000 feat: Add support for python 3.11 (#206) · googleapis/google-cloud-python@ea9759d · GitHub
[go: up one dir, main page]

Skip to content

Commit ea9759d

Browse files
feat: Add support for python 3.11 (#206)
* 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: googleapis/googleapis-gen@7bf29a4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2JmMjlhNDE0YjllY2FjMzE3MGYwYjY1YmRjMmE5NTcwNWMwZWYxYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b1a9221 commit ea9759d

File tree

11 files changed

+17
-9
lines changed

11 files changed

+17
-9
lines changed

packages/google-cloud-recommendations-ai/google/cloud/recommendationengine_v1beta1/services/catalog_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def get_mtls_endpoint_and_cert_source(
145145
The API endpoint is determined in the following order:
146146
(1) if `client_options.api_endpoint` if provided, use the provided one.
147147
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
148-
default mTLS endpoint; if the environment variabel is "never", use the default API
148+
default mTLS endpoint; if the environment variable is "never", use the default API
149149
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
150150
use the default API endpoint.
151151

packages/google-cloud-recommendations-ai/google/cloud/recommendationengine_v1beta1/services/catalog_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def get_mtls_endpoint_and_cert_source(
323323
The API endpoint is determined in the following order:
324324
(1) if `client_options.api_endpoint` if provided, use the provided one.
325325
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
326-
default mTLS endpoint; if the environment variabel is "never", use the default API
326+
default mTLS endpoint; if the environment variable is "never", use the default API
327327
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
328328
use the default API endpoint.
329329

packages/google-cloud-recommendations-ai/google/cloud/recommendationengine_v1beta1/services/prediction_api_key_registry/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def get_mtls_endpoint_and_cert_source(
155155
The API endpoint is determined in the following order:
156156
(1) if `client_options.api_endpoint` if provided, use the provided one.
157157
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
158-
default mTLS endpoint; if the environment variabel is "never", use the default API
158+
default mTLS endpoint; if the environment variable is "never", use the default API
159159
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
160160
use the default API endpoint.
161161

packages/google-cloud-recommendations-ai/google/cloud/recommendationengine_v1beta1/services/prediction_api_key_registry/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def get_mtls_endpoint_and_cert_source(
329329
The API endpoint is determined in the following order:
330330
(1) if `client_options.api_endpoint` if provided, use the provided one.
331331
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
332-
default mTLS endpoint; if the environment variabel is "never", use the default API
332+
default mTLS endpoint; if the environment variable is "never", use the default API
333333
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
334334
use the default API endpoint.
335335

packages/google-cloud-recommendations-ai/google/cloud/recommendationengine_v1beta1/services/prediction_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def get_mtls_endpoint_and_cert_source(
134134
The API endpoint is determined in the following order:
135135
(1) if `client_options.api_endpoint` if provided, use the provided one.
136136
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
137-
default mTLS endpoint; if the environment variabel is "never", use the default API
137+
default mTLS endpoint; if the environment variable is "never", use the default API
138138
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
139139
use the default API endpoint.
140140

packages/google-cloud-recommendations-ai/google/cloud/recommendationengine_v1beta1/services/prediction_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def get_mtls_endpoint_and_cert_source(
296296
The API endpoint is determined in the following order:
297297
(1) if `client_options.api_endpoint` if provided, use the provided one.
298298
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
299-
default mTLS endpoint; if the environment variabel is "never", use the default API
299+
default mTLS endpoint; if the environment variable is "never", use the default API
300300
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
301301
use the default API endpoint.
302302

packages/google-cloud-recommendations-ai/google/cloud/recommendationengine_v1beta1/services/user_event_service/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def get_mtls_endpoint_and_cert_source(
143143
The API endpoint is determined in the following order:
144144
(1) if `client_options.api_endpoint` if provided, use the provided one.
145145
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
146-
default mTLS endpoint; if the environment variabel is "never", use the default API
146+
default mTLS endpoint; if the environment variable is "never", use the default API
147147
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
148148
use the default API endpoint.
149149

packages/google-cloud-recommendations-ai/google/cloud/recommendationengine_v1beta1/services/user_event_service/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def get_mtls_endpoint_and_cert_source(
303303
The API endpoint is determined in the following order:
304304
(1) if `client_options.api_endpoint` if provided, use the provided one.
305305
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
306-
default mTLS endpoint; if the environment variabel is "never", use the default API
306+
default mTLS endpoint; if the environment variable is "never", use the default API
307307
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
308308
use the default API endpoint.
309309

packages/google-cloud-recommendations-ai/samples/generated_samples/snippet_metadata_google.cloud.recommendationengine.v1beta1.json

Lines 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-recommendations-ai",
11-
"version": "0.9.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

packages/google-cloud-recommendations-ai/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
dependencies = [
4141
"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.*",
4242
"proto-plus >= 1.22.0, <2.0.0dev",
43+
"proto-plus >= 1.22.2, <2.0.0dev; python_version>='3.11'",
4344
"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",
4445
]
4546
url = "https://github.com/googleapis/python-recommendations-ai"
@@ -79,6 +80,7 @@
7980
"Programming Language :: Python :: 3.8",
8081
"Programming Language :: Python :: 3.9",
8182
"Programming Language :: Python :: 3.10",
83+
"Programming Language :: Python :: 3.11",
8284
"Operating System :: OS Independent",
8385
"Topic :: Internet",
8486
],

0 commit comments

Comments
 (0)
0