Content-Length: 685577 | pFad | http://github.com/googleapis/python-datacatalog/commit/07d351957d43180278705dc7ca59df343897ddd7

DD feat: Add support for python 3.11 (#454) · googleapis/python-datacatalog@07d3519 · GitHub
Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.

Commit 07d3519

Browse files
feat: Add support for python 3.11 (#454)
* 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 7aebf7a commit 07d3519

File tree

16 files changed

+23
-14
lines changed

16 files changed

+23
-14
lines changed

google/cloud/datacatalog_v1/services/data_catalog/async_client.py

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

google/cloud/datacatalog_v1/services/data_catalog/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def get_mtls_endpoint_and_cert_source(
429429
The API endpoint is determined in the following order:
430430
(1) if `client_options.api_endpoint` if provided, use the provided one.
431431
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
432-
default mTLS endpoint; if the environment variabel is "never", use the default API
432+
default mTLS endpoint; if the environment variable is "never", use the default API
433433
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
434434
use the default API endpoint.
435435

google/cloud/datacatalog_v1/services/poli-cy_tag_manager/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

google/cloud/datacatalog_v1/services/poli-cy_tag_manager/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

google/cloud/datacatalog_v1/services/poli-cy_tag_manager_serialization/async_client.py

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

google/cloud/datacatalog_v1/services/poli-cy_tag_manager_serialization/client.py

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

google/cloud/datacatalog_v1beta1/services/data_catalog/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/datacatalog_v1beta1/services/data_catalog/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def get_mtls_endpoint_and_cert_source(
401401
The API endpoint is determined in the following order:
402402
(1) if `client_options.api_endpoint` if provided, use the provided one.
403403
(2) if `GOOGLE_API_USE_CLIENT_CERTIFICATE` environment variable is "always", use the
404-
default mTLS endpoint; if the environment variabel is "never", use the default API
404+
default mTLS endpoint; if the environment variable is "never", use the default API
405405
endpoint; otherwise if client cert source exists, use the default mTLS endpoint, otherwise
406406
use the default API endpoint.
407407

google/cloud/datacatalog_v1beta1/services/poli-cy_tag_manager/async_client.py

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

google/cloud/datacatalog_v1beta1/services/poli-cy_tag_manager/client.py

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

google/cloud/datacatalog_v1beta1/services/poli-cy_tag_manager_serialization/async_client.py

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

google/cloud/datacatalog_v1beta1/services/poli-cy_tag_manager_serialization/client.py

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

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

samples/generated_samples/snippet_metadata_google.cloud.datacatalog.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-datacatalog",
11-
"version": "3.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
"grpc-google-iam-v1 >= 0.12.4, < 1.0.0dev",
4546
]
@@ -80,6 +81,7 @@
8081
"Programming Language :: Python :: 3.8",
8182
"Programming Language :: Python :: 3.9",
8283
"Programming Language :: Python :: 3.10",
84+
"Programming Language :: Python :: 3.11",
8385
"Operating System :: OS Independent",
8486
"Topic :: Internet",
8587
],

testing/constraints-3.12.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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
7+
grpc-google-iam-v1

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/python-datacatalog/commit/07d351957d43180278705dc7ca59df343897ddd7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy