Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit ad1dbf2

Browse files
feat: Add support for python 3.11 (#254)
* 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 Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 7254960 commit ad1dbf2

File tree

11 files changed

+17
-9
lines changed

11 files changed

+17
-9
lines changed

‎google/cloud/websecurityscanner_v1/services/web_security_scanner/async_client.py

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

‎google/cloud/websecurityscanner_v1/services/web_security_scanner/client.py

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

‎google/cloud/websecurityscanner_v1alpha/services/web_security_scanner/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

‎google/cloud/websecurityscanner_v1alpha/services/web_security_scanner/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def get_mtls_endpoint_and_cert_source(
350350
The API endpoint is determined in the following order:
351351
(1) if `client_options.api_endpoint` if provided, use the provided one.
352352
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
353-
default mTLS endpoint; if the environment variabel is "never", use the default API
353+
default mTLS endpoint; if the environment variable is "never", use the default API
354354
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
355355
use the default API endpoint.
356356

‎google/cloud/websecurityscanner_v1beta/services/web_security_scanner/async_client.py

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

‎google/cloud/websecurityscanner_v1beta/services/web_security_scanner/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def get_mtls_endpoint_and_cert_source(
355355
The API endpoint is determined in the following order:
356356
(1) if `client_options.api_endpoint` if provided, use the provided one.
357357
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
358-
default mTLS endpoint; if the environment variabel is "never", use the default API
358+
default mTLS endpoint; if the environment variable is "never", use the default API
359359
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
360360
use the default API endpoint.
361361

‎samples/generated_samples/snippet_metadata_google.cloud.websecurityscanner.v1.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-websecurityscanner",
11-
"version": "1.10.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

‎samples/generated_samples/snippet_metadata_google.cloud.websecurityscanner.v1alpha.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-websecurityscanner",
11-
"version": "1.10.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

‎samples/generated_samples/snippet_metadata_google.cloud.websecurityscanner.v1beta.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-websecurityscanner",
11-
"version": "1.10.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

‎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-websecurityscanner"
@@ -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)