From d78121a256afca5abe3aa0b7b296cc3fc5578701 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 16 Mar 2023 11:24:31 +0000 Subject: [PATCH 1/4] chore(deps): Update nox in .kokoro/requirements.in [autoapprove] (#170) Source-Link: https://togithub.com/googleapis/synthtool/commit/92006bb3cdc84677aa93c7f5235424ec2b157146 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6 --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/requirements.in | 2 +- .kokoro/requirements.txt | 14 +++++--------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 5fc5daa..b8edda5 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:8555f0e37e6261408f792bfd6635102d2da5ad73f8f09bcb24f25e6afb5fac97 + digest: sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6 diff --git a/.kokoro/requirements.in b/.kokoro/requirements.in index 882178c..ec867d9 100644 --- a/.kokoro/requirements.in +++ b/.kokoro/requirements.in @@ -5,6 +5,6 @@ typing-extensions twine wheel setuptools -nox +nox>=2022.11.21 # required to remove dependency on py charset-normalizer<3 click<8.1.0 diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index fa99c12..66a2172 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --allow-unsafe --generate-hashes requirements.in # @@ -335,9 +335,9 @@ more-itertools==9.0.0 \ --hash=sha256:250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41 \ --hash=sha256:5a6257e40878ef0520b1803990e3e22303a41b5714006c32a3fd8304b26ea1ab # via jaraco-classes -nox==2022.8.7 \ - --hash=sha256:1b894940551dc5c389f9271d197ca5d655d40bdc6ccf93ed6880e4042760a34b \ - --hash=sha256:96cca88779e08282a699d672258ec01eb7c792d35bbbf538c723172bce23212c +nox==2022.11.21 \ + --hash=sha256:0e41a990e290e274cb205a976c4c97ee3c5234441a8132c8c3fd9ea3c22149eb \ + --hash=sha256:e21c31de0711d1274ca585a2c5fde36b1aa962005ba8e9322bf5eeed16dcd684 # via -r requirements.in packaging==21.3 \ --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ @@ -380,10 +380,6 @@ protobuf==3.20.3 \ # gcp-docuploader # gcp-releasetool # google-api-core -py==1.11.0 \ - --hash=sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719 \ - --hash=sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378 - # via nox pyasn1==0.4.8 \ --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba From 6a8d47f6876e8c38a55954fc9d529145dc541156 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 17 Mar 2023 13:28:56 -0700 Subject: [PATCH 2/4] chore: Update gapic-generator-python to v1.9.0 (#171) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: Update gapic-generator-python to v1.9.0 PiperOrigin-RevId: 517425588 Source-Link: https://github.com/googleapis/googleapis/commit/33c93eb8b4d3aaf88e44a1be197811052be62282 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d5f59789d19fc43270ff2124967d4ec8992b8e8f Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDVmNTk3ODlkMTlmYzQzMjcwZmYyMTI0OTY3ZDRlYzg5OTJiOGU4ZiJ9 * 🦉 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 --- .../snippet_metadata_google.cloud.datafusion.v1.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/generated_samples/snippet_metadata_google.cloud.datafusion.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.datafusion.v1.json index e364f8f..1c5648e 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.datafusion.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.datafusion.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-data-fusion", - "version": "1.8.0" + "version": "0.1.0" }, "snippets": [ { From 6f3a3790744250f794bf0a95716d2e95e3401807 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 09:26:18 -0400 Subject: [PATCH 3/4] docs: Fix formatting of request arg in docstring (#172) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: https://github.com/googleapis/googleapis/commit/8a085aeddfa010af5bcef090827aac5255383d7e Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 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 --- .../services/data_fusion/async_client.py | 11 ++++++----- .../data_fusion_v1/services/data_fusion/client.py | 11 ++++++----- .../services/data_fusion/transports/rest.py | 7 ------- 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/google/cloud/data_fusion_v1/services/data_fusion/async_client.py b/google/cloud/data_fusion_v1/services/data_fusion/async_client.py index 613e7d9..35ede6f 100644 --- a/google/cloud/data_fusion_v1/services/data_fusion/async_client.py +++ b/google/cloud/data_fusion_v1/services/data_fusion/async_client.py @@ -820,9 +820,10 @@ async def sample_update_instance(): Args: request (Optional[Union[google.cloud.data_fusion_v1.types.UpdateInstanceRequest, dict]]): The request object. Request message for updating a Data - Fusion instance. Data Fusion allows updating the labels, - options, and stack driver settings. This is also used - for CDF version upgrade. + Fusion instance. Data Fusion allows + updating the labels, options, and stack + driver settings. This is also used for + CDF version upgrade. instance (:class:`google.cloud.data_fusion_v1.types.Instance`): Required. The instance resource that replaces the resource on the server. @@ -958,8 +959,8 @@ async def sample_restart_instance(): Args: request (Optional[Union[google.cloud.data_fusion_v1.types.RestartInstanceRequest, dict]]): - The request object. Request message for restarting a - Data Fusion instance. + The request object. Request message for restarting a Data + Fusion instance. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/data_fusion_v1/services/data_fusion/client.py b/google/cloud/data_fusion_v1/services/data_fusion/client.py index 7912b42..83d7b73 100644 --- a/google/cloud/data_fusion_v1/services/data_fusion/client.py +++ b/google/cloud/data_fusion_v1/services/data_fusion/client.py @@ -1077,9 +1077,10 @@ def sample_update_instance(): Args: request (Union[google.cloud.data_fusion_v1.types.UpdateInstanceRequest, dict]): The request object. Request message for updating a Data - Fusion instance. Data Fusion allows updating the labels, - options, and stack driver settings. This is also used - for CDF version upgrade. + Fusion instance. Data Fusion allows + updating the labels, options, and stack + driver settings. This is also used for + CDF version upgrade. instance (google.cloud.data_fusion_v1.types.Instance): Required. The instance resource that replaces the resource on the server. @@ -1215,8 +1216,8 @@ def sample_restart_instance(): Args: request (Union[google.cloud.data_fusion_v1.types.RestartInstanceRequest, dict]): - The request object. Request message for restarting a - Data Fusion instance. + The request object. Request message for restarting a Data + Fusion instance. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/data_fusion_v1/services/data_fusion/transports/rest.py b/google/cloud/data_fusion_v1/services/data_fusion/transports/rest.py index 01c4de2..edcac08 100644 --- a/google/cloud/data_fusion_v1/services/data_fusion/transports/rest.py +++ b/google/cloud/data_fusion_v1/services/data_fusion/transports/rest.py @@ -475,7 +475,6 @@ def __call__( request (~.datafusion.CreateInstanceRequest): The request object. Request message for creating a Data Fusion instance. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -573,7 +572,6 @@ def __call__( request (~.datafusion.DeleteInstanceRequest): The request object. Request message for deleting a Data Fusion instance. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -662,7 +660,6 @@ def __call__( request (~.datafusion.GetInstanceRequest): The request object. Request message for getting details about a Data Fusion instance. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -750,7 +747,6 @@ def __call__( request (~.datafusion.ListAvailableVersionsRequest): The request object. Request message for the list available versions request. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -842,7 +838,6 @@ def __call__( request (~.datafusion.ListInstancesRequest): The request object. Request message for listing Data Fusion instances. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -932,7 +927,6 @@ def __call__( request (~.datafusion.RestartInstanceRequest): The request object. Request message for restarting a Data Fusion instance. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1035,7 +1029,6 @@ def __call__( updating the labels, options, and stack driver settings. This is also used for CDF version upgrade. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. From ba53f5cfccfa48c76c399b1e93cb3ae31fef28fc Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 27 Mar 2023 11:33:02 -0400 Subject: [PATCH 4/4] chore(main): release 1.8.1 (#173) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ google/cloud/data_fusion/gapic_version.py | 2 +- google/cloud/data_fusion_v1/gapic_version.py | 2 +- .../snippet_metadata_google.cloud.datafusion.v1.json | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 099626f..7840fde 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.8.0" + ".": "1.8.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index d20b339..965edb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.8.1](https://github.com/googleapis/python-data-fusion/compare/v1.8.0...v1.8.1) (2023-03-23) + + +### Documentation + +* Fix formatting of request arg in docstring ([#172](https://github.com/googleapis/python-data-fusion/issues/172)) ([6f3a379](https://github.com/googleapis/python-data-fusion/commit/6f3a3790744250f794bf0a95716d2e95e3401807)) + ## [1.8.0](https://github.com/googleapis/python-data-fusion/compare/v1.7.1...v1.8.0) (2023-02-27) diff --git a/google/cloud/data_fusion/gapic_version.py b/google/cloud/data_fusion/gapic_version.py index b334dcc..90e0293 100644 --- a/google/cloud/data_fusion/gapic_version.py +++ b/google/cloud/data_fusion/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.8.0" # {x-release-please-version} +__version__ = "1.8.1" # {x-release-please-version} diff --git a/google/cloud/data_fusion_v1/gapic_version.py b/google/cloud/data_fusion_v1/gapic_version.py index b334dcc..90e0293 100644 --- a/google/cloud/data_fusion_v1/gapic_version.py +++ b/google/cloud/data_fusion_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.8.0" # {x-release-please-version} +__version__ = "1.8.1" # {x-release-please-version} diff --git a/samples/generated_samples/snippet_metadata_google.cloud.datafusion.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.datafusion.v1.json index 1c5648e..49d131e 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.datafusion.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.datafusion.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-data-fusion", - "version": "0.1.0" + "version": "1.8.1" }, "snippets": [ {