diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4fcfdf7..2b6f978 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.9.0" + ".": "1.9.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 740666c..c8990e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.9.1](https://github.com/googleapis/python-bigquery-connection/compare/v1.9.0...v1.9.1) (2023-01-20) + + +### Bug Fixes + +* Add context manager return types ([a62dada](https://github.com/googleapis/python-bigquery-connection/commit/a62dada3529fe2ef72496e3e35f56c7184cfdef0)) + + +### Documentation + +* Add documentation for enums ([a62dada](https://github.com/googleapis/python-bigquery-connection/commit/a62dada3529fe2ef72496e3e35f56c7184cfdef0)) + ## [1.9.0](https://github.com/googleapis/python-bigquery-connection/compare/v1.8.0...v1.9.0) (2023-01-10) diff --git a/google/cloud/bigquery_connection/gapic_version.py b/google/cloud/bigquery_connection/gapic_version.py index 163d151..13f1b4a 100644 --- a/google/cloud/bigquery_connection/gapic_version.py +++ b/google/cloud/bigquery_connection/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.9.0" # {x-release-please-version} +__version__ = "1.9.1" # {x-release-please-version} diff --git a/google/cloud/bigquery_connection_v1/gapic_version.py b/google/cloud/bigquery_connection_v1/gapic_version.py index 163d151..13f1b4a 100644 --- a/google/cloud/bigquery_connection_v1/gapic_version.py +++ b/google/cloud/bigquery_connection_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.9.0" # {x-release-please-version} +__version__ = "1.9.1" # {x-release-please-version} diff --git a/google/cloud/bigquery_connection_v1/services/connection_service/client.py b/google/cloud/bigquery_connection_v1/services/connection_service/client.py index dd5ac36..a28fb4b 100644 --- a/google/cloud/bigquery_connection_v1/services/connection_service/client.py +++ b/google/cloud/bigquery_connection_v1/services/connection_service/client.py @@ -1457,7 +1457,7 @@ def sample_test_iam_permissions(): # Done; return the response. return response - def __enter__(self): + def __enter__(self) -> "ConnectionServiceClient": return self def __exit__(self, type, value, traceback): diff --git a/google/cloud/bigquery_connection_v1/types/connection.py b/google/cloud/bigquery_connection_v1/types/connection.py index af12434..f913579 100644 --- a/google/cloud/bigquery_connection_v1/types/connection.py +++ b/google/cloud/bigquery_connection_v1/types/connection.py @@ -318,7 +318,16 @@ class CloudSqlProperties(proto.Message): """ class DatabaseType(proto.Enum): - r"""Supported Cloud SQL database types.""" + r"""Supported Cloud SQL database types. + + Values: + DATABASE_TYPE_UNSPECIFIED (0): + Unspecified database type. + POSTGRES (1): + Cloud SQL for PostgreSQL. + MYSQL (2): + Cloud SQL for MySQL. + """ DATABASE_TYPE_UNSPECIFIED = 0 POSTGRES = 1 MYSQL = 2 diff --git a/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json index a5f4349..ca553ce 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-bigquery-connection", - "version": "1.9.0" + "version": "1.9.1" }, "snippets": [ { diff --git a/samples/snippets/requirements-test.txt b/samples/snippets/requirements-test.txt index f70f97a..6dd4693 100644 --- a/samples/snippets/requirements-test.txt +++ b/samples/snippets/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==7.2.0 +pytest==7.2.1 google-cloud-testutils==1.3.3 \ No newline at end of file diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index eda4342..dc6f190 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1 +1 @@ -google-cloud-bigquery-connection==1.8.0 \ No newline at end of file +google-cloud-bigquery-connection==1.9.0 \ No newline at end of file