From f4d087a7715d0c47037b8d15b8b94495f0b79a09 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 21 Oct 2020 05:29:59 -0700 Subject: [PATCH 1/2] changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. --- .kokoro/presubmit/presubmit.cfg | 4 ---- google/cloud/bigquery_v2/types/standard_sql.py | 4 ++-- synth.metadata | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.kokoro/presubmit/presubmit.cfg b/.kokoro/presubmit/presubmit.cfg index 17d071cae..b158096f0 100644 --- a/.kokoro/presubmit/presubmit.cfg +++ b/.kokoro/presubmit/presubmit.cfg @@ -5,7 +5,3 @@ env_vars: { key: "RUN_SYSTEM_TESTS" value: "false" } -env_vars: { - key: "RUN_SNIPPETS_TESTS" - value: "false" -} diff --git a/google/cloud/bigquery_v2/types/standard_sql.py b/google/cloud/bigquery_v2/types/standard_sql.py index 1a32a3c75..17128c356 100644 --- a/google/cloud/bigquery_v2/types/standard_sql.py +++ b/google/cloud/bigquery_v2/types/standard_sql.py @@ -80,7 +80,7 @@ class StandardSqlField(proto.Message): name (str): Optional. The name of this field. Can be absent for struct fields. - type (~.standard_sql.StandardSqlDataType): + type_ (~.standard_sql.StandardSqlDataType): Optional. The type of this parameter. Absent if not explicitly specified (e.g., CREATE FUNCTION statement can omit the return type; in @@ -90,7 +90,7 @@ class StandardSqlField(proto.Message): name = proto.Field(proto.STRING, number=1) - type = proto.Field(proto.MESSAGE, number=2, message=StandardSqlDataType,) + type_ = proto.Field(proto.MESSAGE, number=2, message=StandardSqlDataType,) class StandardSqlStructType(proto.Message): diff --git a/synth.metadata b/synth.metadata index db77e463d..77c40199f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-bigquery.git", - "sha": "5178b55682f5e264bfc082cde26acb1fdc953a18" + "sha": "155bacc156f181384ca6dba699ab83d0398176d1" } }, { From 265b9f7759952d9920e53af2c6a16d4c1b557a4c Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 21 Oct 2020 05:31:02 -0700 Subject: [PATCH 2/2] chore: upgrade to gapic-generator-python 0.35.6 PiperOrigin-RevId: 338157137 Source-Author: Google APIs Source-Date: Tue Oct 20 16:08:47 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: c7331b75b0b7bbd614373b7d37085db1c80dd4be Source-Link: https://github.com/googleapis/googleapis/commit/c7331b75b0b7bbd614373b7d37085db1c80dd4be --- google/cloud/bigquery_v2/types/model.py | 4 ++-- google/cloud/bigquery_v2/types/standard_sql.py | 4 ++-- synth.metadata | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/google/cloud/bigquery_v2/types/model.py b/google/cloud/bigquery_v2/types/model.py index 3a7bbf43b..c3530dec2 100644 --- a/google/cloud/bigquery_v2/types/model.py +++ b/google/cloud/bigquery_v2/types/model.py @@ -1495,7 +1495,7 @@ class PatchModelRequest(proto.Message): model_id = proto.Field(proto.STRING, number=3) - model = proto.Field(proto.MESSAGE, number=4, message=Model,) + model = proto.Field(proto.MESSAGE, number=4, message="Model",) class DeleteModelRequest(proto.Message): @@ -1559,7 +1559,7 @@ class ListModelsResponse(proto.Message): def raw_page(self): return self - models = proto.RepeatedField(proto.MESSAGE, number=1, message=Model,) + models = proto.RepeatedField(proto.MESSAGE, number=1, message="Model",) next_page_token = proto.Field(proto.STRING, number=2) diff --git a/google/cloud/bigquery_v2/types/standard_sql.py b/google/cloud/bigquery_v2/types/standard_sql.py index 17128c356..2aa6f52c5 100644 --- a/google/cloud/bigquery_v2/types/standard_sql.py +++ b/google/cloud/bigquery_v2/types/standard_sql.py @@ -90,7 +90,7 @@ class StandardSqlField(proto.Message): name = proto.Field(proto.STRING, number=1) - type_ = proto.Field(proto.MESSAGE, number=2, message=StandardSqlDataType,) + type_ = proto.Field(proto.MESSAGE, number=2, message="StandardSqlDataType",) class StandardSqlStructType(proto.Message): @@ -101,7 +101,7 @@ class StandardSqlStructType(proto.Message): """ - fields = proto.RepeatedField(proto.MESSAGE, number=1, message=StandardSqlField,) + fields = proto.RepeatedField(proto.MESSAGE, number=1, message="StandardSqlField",) __all__ = tuple(sorted(__protobuf__.manifest)) diff --git a/synth.metadata b/synth.metadata index 77c40199f..4234f4caf 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "215c12ade72d9d9616457d9b8b2f8a37f38e79f3", - "internalRef": "337113354" + "sha": "c7331b75b0b7bbd614373b7d37085db1c80dd4be", + "internalRef": "338157137" } }, {