From c7417f43563e20a3e6f1a57f46925fb274b28b07 Mon Sep 17 00:00:00 2001 From: Atsushi Yamamoto Date: Mon, 27 Feb 2023 06:38:00 -0800 Subject: [PATCH 1/9] docs: Remove < 3.11 reference from README (#1502) --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 475d055a2..46f35e716 100644 --- a/README.rst +++ b/README.rst @@ -52,7 +52,7 @@ dependencies. Supported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^ -Python >= 3.7, < 3.11 +Python >= 3.7 Unsupported Python Versions ^^^^^^^^^^^^^^^^^^^^^^^^^^^ From 3885fc50bda8e14bc7af5f59f8a3ae7c4575b0ea Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 27 Feb 2023 12:16:30 -0500 Subject: [PATCH 2/9] chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#1508) Source-Link: https://github.com/googleapis/synthtool/commit/5f2a6089f73abf06238fe4310f6a14d6f6d1eed3 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:8555f0e37e6261408f792bfd6635102d2da5ad73f8f09bcb24f25e6afb5fac97 Co-authored-by: Owl Bot --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/requirements.in | 2 +- .kokoro/requirements.txt | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 894fb6bc9..5fc5daa31 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:f62c53736eccb0c4934a3ea9316e0d57696bb49c1a7c86c726e9bb8a2f87dadf + digest: sha256:8555f0e37e6261408f792bfd6635102d2da5ad73f8f09bcb24f25e6afb5fac97 diff --git a/.kokoro/requirements.in b/.kokoro/requirements.in index cbd7e77f4..882178ce6 100644 --- a/.kokoro/requirements.in +++ b/.kokoro/requirements.in @@ -1,5 +1,5 @@ gcp-docuploader -gcp-releasetool +gcp-releasetool>=1.10.5 # required for compatibility with cryptography>=39.x importlib-metadata typing-extensions twine diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index 096e4800a..fa99c1290 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -154,9 +154,9 @@ gcp-docuploader==0.6.4 \ --hash=sha256:01486419e24633af78fd0167db74a2763974765ee8078ca6eb6964d0ebd388af \ --hash=sha256:70861190c123d907b3b067da896265ead2eeb9263969d6955c9e0bb091b5ccbf # via -r requirements.in -gcp-releasetool==1.10.0 \ - --hash=sha256:72a38ca91b59c24f7e699e9227c90cbe4dd71b789383cb0164b088abae294c83 \ - --hash=sha256:8c7c99320208383d4bb2b808c6880eb7a81424afe7cdba3c8d84b25f4f0e097d +gcp-releasetool==1.10.5 \ + --hash=sha256:174b7b102d704b254f2a26a3eda2c684fd3543320ec239baf771542a2e58e109 \ + --hash=sha256:e29d29927fe2ca493105a82958c6873bb2b90d503acac56be2c229e74de0eec9 # via -r requirements.in google-api-core==2.10.2 \ --hash=sha256:10c06f7739fe57781f87523375e8e1a3a4674bf6392cd6131a3222182b971320 \ From cd0aaa15960e9ca7a0aaf411c8e4990f95421816 Mon Sep 17 00:00:00 2001 From: Shobhit Singh Date: Mon, 27 Feb 2023 22:32:00 +0000 Subject: [PATCH 3/9] feat: add `connection_properties` and `create_session` to `LoadJobConfig` (#1509) * feat: added `connection_properties` and `create_session` in load job --- .gitignore | 1 + google/cloud/bigquery/job/load.py | 59 ++++++++++++++++++++++++++++++ tests/unit/job/test_load.py | 2 + tests/unit/job/test_load_config.py | 21 +++++++++++ 4 files changed, 83 insertions(+) diff --git a/.gitignore b/.gitignore index 99c3a1444..168b201f6 100644 --- a/.gitignore +++ b/.gitignore @@ -51,6 +51,7 @@ docs.metadata # Virtual environment env/ +venv/ # Test logs coverage.xml diff --git a/google/cloud/bigquery/job/load.py b/google/cloud/bigquery/job/load.py index 14a7fa30b..7481cb378 100644 --- a/google/cloud/bigquery/job/load.py +++ b/google/cloud/bigquery/job/load.py @@ -28,6 +28,7 @@ from google.cloud.bigquery.job.base import _AsyncJob from google.cloud.bigquery.job.base import _JobConfig from google.cloud.bigquery.job.base import _JobReference +from google.cloud.bigquery.query import ConnectionProperty class LoadJobConfig(_JobConfig): @@ -120,6 +121,25 @@ def clustering_fields(self, value): else: self._del_sub_prop("clustering") + @property + def connection_properties(self) -> List[ConnectionProperty]: + """Connection properties. + + See + https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationLoad.FIELDS.connection_properties + + .. versionadded:: 3.7.0 + """ + resource = self._get_sub_prop("connectionProperties", []) + return [ConnectionProperty.from_api_repr(prop) for prop in resource] + + @connection_properties.setter + def connection_properties(self, value: Iterable[ConnectionProperty]): + self._set_sub_prop( + "connectionProperties", + [prop.to_api_repr() for prop in value], + ) + @property def create_disposition(self): """Optional[google.cloud.bigquery.job.CreateDisposition]: Specifies behavior @@ -134,6 +154,27 @@ def create_disposition(self): def create_disposition(self, value): self._set_sub_prop("createDisposition", value) + @property + def create_session(self) -> Optional[bool]: + """[Preview] If :data:`True`, creates a new session, where + :attr:`~google.cloud.bigquery.job.LoadJob.session_info` will contain a + random server generated session id. + + If :data:`False`, runs load job with an existing ``session_id`` passed in + :attr:`~google.cloud.bigquery.job.LoadJobConfig.connection_properties`, + otherwise runs load job in non-session mode. + + See + https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationLoad.FIELDS.create_session + + .. versionadded:: 3.7.0 + """ + return self._get_sub_prop("createSession") + + @create_session.setter + def create_session(self, value: Optional[bool]): + self._set_sub_prop("createSession", value) + @property def decimal_target_types(self) -> Optional[FrozenSet[str]]: """Possible SQL data types to which the source decimal values are converted. @@ -629,6 +670,15 @@ def autodetect(self): """ return self._configuration.autodetect + @property + def connection_properties(self) -> List[ConnectionProperty]: + """See + :attr:`google.cloud.bigquery.job.LoadJobConfig.connection_properties`. + + .. versionadded:: 3.7.0 + """ + return self._configuration.connection_properties + @property def create_disposition(self): """See @@ -636,6 +686,15 @@ def create_disposition(self): """ return self._configuration.create_disposition + @property + def create_session(self) -> Optional[bool]: + """See + :attr:`google.cloud.bigquery.job.LoadJobConfig.create_session`. + + .. versionadded:: 3.7.0 + """ + return self._configuration.create_session + @property def encoding(self): """See diff --git a/tests/unit/job/test_load.py b/tests/unit/job/test_load.py index 143e1da59..cf3ce1661 100644 --- a/tests/unit/job/test_load.py +++ b/tests/unit/job/test_load.py @@ -392,6 +392,8 @@ def test_from_api_repr_bare(self): job = klass.from_api_repr(RESOURCE, client=client) self.assertIs(job._client, client) self._verifyResourceProperties(job, RESOURCE) + self.assertEqual(len(job.connection_properties), 0) + self.assertIsNone(job.create_session) def test_from_api_with_encryption(self): self._setUpConstants() diff --git a/tests/unit/job/test_load_config.py b/tests/unit/job/test_load_config.py index 7f77fc085..4d25fa106 100644 --- a/tests/unit/job/test_load_config.py +++ b/tests/unit/job/test_load_config.py @@ -122,6 +122,27 @@ def test_create_disposition_setter(self): config.create_disposition = disposition self.assertEqual(config._properties["load"]["createDisposition"], disposition) + def test_connection_properties(self): + from google.cloud.bigquery.query import ConnectionProperty + + config = self._get_target_class()() + self.assertEqual(len(config.connection_properties), 0) + + session_id = ConnectionProperty("session_id", "abcd") + time_zone = ConnectionProperty("time_zone", "America/Chicago") + config.connection_properties = [session_id, time_zone] + self.assertEqual(len(config.connection_properties), 2) + self.assertEqual(config.connection_properties[0].key, "session_id") + self.assertEqual(config.connection_properties[0].value, "abcd") + self.assertEqual(config.connection_properties[1].key, "time_zone") + self.assertEqual(config.connection_properties[1].value, "America/Chicago") + + def test_create_session(self): + config = self._get_target_class()() + self.assertIsNone(config.create_session) + config.create_session = True + self.assertTrue(config.create_session) + def test_decimal_target_types_miss(self): config = self._get_target_class()() self.assertIsNone(config.decimal_target_types) From 792e30004f7b894cbcfe75098feb38a5a46af806 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 1 Mar 2023 13:49:09 +0000 Subject: [PATCH 4/9] chore(deps): update all dependencies (#1501) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update all dependencies * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Anthonios Partheniou Co-authored-by: Owl Bot --- .gitignore | 1 - samples/geography/requirements.txt | 12 ++++++------ samples/magics/requirements.txt | 8 ++++---- samples/snippets/requirements.txt | 10 +++++----- 4 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 168b201f6..99c3a1444 100644 --- a/.gitignore +++ b/.gitignore @@ -51,7 +51,6 @@ docs.metadata # Virtual environment env/ -venv/ # Test logs coverage.xml diff --git a/samples/geography/requirements.txt b/samples/geography/requirements.txt index f22625653..a0f64923c 100644 --- a/samples/geography/requirements.txt +++ b/samples/geography/requirements.txt @@ -7,19 +7,19 @@ click-plugins==1.1.1 cligj==0.7.2 dataclasses==0.8; python_version < '3.7' db-dtypes==1.0.5 -Fiona==1.9.0 -geojson==3.0.0 +Fiona==1.9.1 +geojson==3.0.1 geopandas===0.10.2; python_version == '3.7' geopandas==0.12.2; python_version >= '3.8' google-api-core==2.11.0 -google-auth==2.16.0 -google-cloud-bigquery==3.5.0 +google-auth==2.16.1 +google-cloud-bigquery==3.6.0 google-cloud-bigquery-storage==2.18.1 google-cloud-core==2.3.2 google-crc32c==1.5.0 google-resumable-media==2.4.1 googleapis-common-protos==1.58.0 -grpcio==1.51.1 +grpcio==1.51.3 idna==3.4 libcst==0.4.9 munch==2.5.0 @@ -40,6 +40,6 @@ requests==2.28.2 rsa==4.9 Shapely==2.0.1 six==1.16.0 -typing-extensions==4.4.0 +typing-extensions==4.5.0 typing-inspect==0.8.0 urllib3==1.26.14 diff --git a/samples/magics/requirements.txt b/samples/magics/requirements.txt index 725975116..0513b2b5b 100644 --- a/samples/magics/requirements.txt +++ b/samples/magics/requirements.txt @@ -1,15 +1,15 @@ db-dtypes==1.0.5 google-cloud-bigquery-storage==2.18.1 google-auth-oauthlib==1.0.0 -grpcio==1.51.1 +grpcio==1.51.3 ipywidgets==8.0.4 ipython===7.31.1; python_version == '3.7' ipython===8.0.1; python_version == '3.8' -ipython==8.9.0; python_version >= '3.9' +ipython==8.10.0; python_version >= '3.9' matplotlib===3.5.3; python_version == '3.7' -matplotlib==3.6.3; python_version >= '3.8' +matplotlib==3.7.0; python_version >= '3.8' pandas===1.3.5; python_version == '3.7' pandas==1.5.3; python_version >= '3.8' pyarrow==11.0.0 pytz==2022.7.1 -typing-extensions==4.4.0 +typing-extensions==4.5.0 diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 50fd19e51..de669fd16 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1,16 +1,16 @@ db-dtypes==1.0.5 -google-cloud-bigquery==3.5.0 +google-cloud-bigquery==3.6.0 google-cloud-bigquery-storage==2.18.1 google-auth-oauthlib==1.0.0 -grpcio==1.51.1 +grpcio==1.51.3 ipywidgets==8.0.4 ipython===7.31.1; python_version == '3.7' ipython===8.0.1; python_version == '3.8' -ipython==8.9.0; python_version >= '3.9' +ipython==8.10.0; python_version >= '3.9' matplotlib===3.5.3; python_version == '3.7' -matplotlib==3.6.3; python_version >= '3.8' +matplotlib==3.7.0; python_version >= '3.8' pandas===1.3.5; python_version == '3.7' pandas==1.5.3; python_version >= '3.8' pyarrow==11.0.0 pytz==2022.7.1 -typing-extensions==4.4.0 +typing-extensions==4.5.0 From 75337ee4504cd739b87658286961477f2a2a2057 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 1 Mar 2023 20:42:48 +0000 Subject: [PATCH 5/9] chore(deps): update all dependencies (#1513) --- samples/geography/requirements.txt | 2 +- samples/magics/requirements.txt | 4 ++-- samples/snippets/requirements.txt | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/samples/geography/requirements.txt b/samples/geography/requirements.txt index a0f64923c..e9fb6538c 100644 --- a/samples/geography/requirements.txt +++ b/samples/geography/requirements.txt @@ -14,7 +14,7 @@ geopandas==0.12.2; python_version >= '3.8' google-api-core==2.11.0 google-auth==2.16.1 google-cloud-bigquery==3.6.0 -google-cloud-bigquery-storage==2.18.1 +google-cloud-bigquery-storage==2.19.0 google-cloud-core==2.3.2 google-crc32c==1.5.0 google-resumable-media==2.4.1 diff --git a/samples/magics/requirements.txt b/samples/magics/requirements.txt index 0513b2b5b..3d55ae95a 100644 --- a/samples/magics/requirements.txt +++ b/samples/magics/requirements.txt @@ -1,11 +1,11 @@ db-dtypes==1.0.5 -google-cloud-bigquery-storage==2.18.1 +google-cloud-bigquery-storage==2.19.0 google-auth-oauthlib==1.0.0 grpcio==1.51.3 ipywidgets==8.0.4 ipython===7.31.1; python_version == '3.7' ipython===8.0.1; python_version == '3.8' -ipython==8.10.0; python_version >= '3.9' +ipython==8.11.0; python_version >= '3.9' matplotlib===3.5.3; python_version == '3.7' matplotlib==3.7.0; python_version >= '3.8' pandas===1.3.5; python_version == '3.7' diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index de669fd16..b4fc299e7 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1,12 +1,12 @@ db-dtypes==1.0.5 google-cloud-bigquery==3.6.0 -google-cloud-bigquery-storage==2.18.1 +google-cloud-bigquery-storage==2.19.0 google-auth-oauthlib==1.0.0 grpcio==1.51.3 ipywidgets==8.0.4 ipython===7.31.1; python_version == '3.7' ipython===8.0.1; python_version == '3.8' -ipython==8.10.0; python_version >= '3.9' +ipython==8.11.0; python_version >= '3.9' matplotlib===3.5.3; python_version == '3.7' matplotlib==3.7.0; python_version >= '3.8' pandas===1.3.5; python_version == '3.7' From a23092cad834c6a016f455d46fefa13bb6cdbf0f Mon Sep 17 00:00:00 2001 From: chelsea-lin <124939984+chelsea-lin@users.noreply.github.com> Date: Thu, 2 Mar 2023 07:48:11 -0800 Subject: [PATCH 6/9] feat: add default_query_job_config property and property setter to BQ client (#1511) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [x] Make sure to open an issue as a [feature request](https://togithub.com/googleapis/python-bigquery/issues/1512) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary) Fixes - [feature request](https://togithub.com/googleapis/python-bigquery/issues/1512)🦕 - [internal bug](https://b.corp.google.com/issues/271044948) --- google/cloud/bigquery/client.py | 11 +++++++++++ tests/unit/test_client.py | 13 +++++++++++++ 2 files changed, 24 insertions(+) diff --git a/google/cloud/bigquery/client.py b/google/cloud/bigquery/client.py index b03266528..af8eaf5a7 100644 --- a/google/cloud/bigquery/client.py +++ b/google/cloud/bigquery/client.py @@ -266,6 +266,17 @@ def location(self): """Default location for jobs / datasets / tables.""" return self._location + @property + def default_query_job_config(self): + """Default ``QueryJobConfig``. + Will be merged into job configs passed into the ``query`` method. + """ + return self._default_query_job_config + + @default_query_job_config.setter + def default_query_job_config(self, value: QueryJobConfig): + self._default_query_job_config = copy.deepcopy(value) + def close(self): """Close the underlying transport objects, releasing system resources. diff --git a/tests/unit/test_client.py b/tests/unit/test_client.py index 22f7286db..f38874843 100644 --- a/tests/unit/test_client.py +++ b/tests/unit/test_client.py @@ -413,6 +413,19 @@ def test__get_query_results_hit(self): self.assertEqual(query_results.total_rows, 10) self.assertTrue(query_results.complete) + def test_default_query_job_config(self): + from google.cloud.bigquery import QueryJobConfig + + creds = _make_credentials() + http = object() + client = self._make_one(project=self.PROJECT, credentials=creds, _http=http) + self.assertIsNone(client.default_query_job_config) + + job_config = QueryJobConfig() + job_config.dry_run = True + client.default_query_job_config = job_config + self.assertIsInstance(client.default_query_job_config, QueryJobConfig) + def test_get_service_account_email(self): path = "/projects/%s/serviceAccount" % (self.PROJECT,) creds = _make_credentials() From ad0ec31acd517392bfcbdbdbd5a5283afc423753 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Sat, 4 Mar 2023 11:31:55 +0000 Subject: [PATCH 7/9] chore(deps): update all dependencies (#1514) --- samples/geography/requirements-test.txt | 2 +- samples/geography/requirements.txt | 2 +- samples/magics/requirements-test.txt | 2 +- samples/magics/requirements.txt | 2 +- samples/snippets/requirements-test.txt | 2 +- samples/snippets/requirements.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/geography/requirements-test.txt b/samples/geography/requirements-test.txt index 100e0639c..e0ec46254 100644 --- a/samples/geography/requirements-test.txt +++ b/samples/geography/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==7.2.1 +pytest==7.2.2 mock==5.0.1 diff --git a/samples/geography/requirements.txt b/samples/geography/requirements.txt index e9fb6538c..cfda81374 100644 --- a/samples/geography/requirements.txt +++ b/samples/geography/requirements.txt @@ -12,7 +12,7 @@ geojson==3.0.1 geopandas===0.10.2; python_version == '3.7' geopandas==0.12.2; python_version >= '3.8' google-api-core==2.11.0 -google-auth==2.16.1 +google-auth==2.16.2 google-cloud-bigquery==3.6.0 google-cloud-bigquery-storage==2.19.0 google-cloud-core==2.3.2 diff --git a/samples/magics/requirements-test.txt b/samples/magics/requirements-test.txt index e8f3982c7..3ed7558d5 100644 --- a/samples/magics/requirements-test.txt +++ b/samples/magics/requirements-test.txt @@ -1,3 +1,3 @@ google-cloud-testutils==1.3.3 -pytest==7.2.1 +pytest==7.2.2 mock==5.0.1 diff --git a/samples/magics/requirements.txt b/samples/magics/requirements.txt index 3d55ae95a..55b828f1b 100644 --- a/samples/magics/requirements.txt +++ b/samples/magics/requirements.txt @@ -7,7 +7,7 @@ ipython===7.31.1; python_version == '3.7' ipython===8.0.1; python_version == '3.8' ipython==8.11.0; python_version >= '3.9' matplotlib===3.5.3; python_version == '3.7' -matplotlib==3.7.0; python_version >= '3.8' +matplotlib==3.7.1; python_version >= '3.8' pandas===1.3.5; python_version == '3.7' pandas==1.5.3; python_version >= '3.8' pyarrow==11.0.0 diff --git a/samples/snippets/requirements-test.txt b/samples/snippets/requirements-test.txt index e8f3982c7..3ed7558d5 100644 --- a/samples/snippets/requirements-test.txt +++ b/samples/snippets/requirements-test.txt @@ -1,3 +1,3 @@ google-cloud-testutils==1.3.3 -pytest==7.2.1 +pytest==7.2.2 mock==5.0.1 diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index b4fc299e7..6c6b17ea8 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -8,7 +8,7 @@ ipython===7.31.1; python_version == '3.7' ipython===8.0.1; python_version == '3.8' ipython==8.11.0; python_version >= '3.9' matplotlib===3.5.3; python_version == '3.7' -matplotlib==3.7.0; python_version >= '3.8' +matplotlib==3.7.1; python_version >= '3.8' pandas===1.3.5; python_version == '3.7' pandas==1.5.3; python_version >= '3.8' pyarrow==11.0.0 From cbbfeb57215e24f51d1658070558a22e6580c4ca Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Mon, 6 Mar 2023 23:06:30 +0000 Subject: [PATCH 8/9] chore(deps): update dependency charset-normalizer to v3.1.0 (#1518) --- samples/geography/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/geography/requirements.txt b/samples/geography/requirements.txt index cfda81374..75964dbe1 100644 --- a/samples/geography/requirements.txt +++ b/samples/geography/requirements.txt @@ -1,7 +1,7 @@ attrs==22.2.0 certifi==2022.12.7 cffi==1.15.1 -charset-normalizer==3.0.1 +charset-normalizer==3.1.0 click==8.1.3 click-plugins==1.1.1 cligj==0.7.2 From 2d46d3e02f76b9d94580ae7183ec8aeecb401a5f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 13 Mar 2023 12:46:05 -0500 Subject: [PATCH 9/9] chore(main): release 3.7.0 (#1507) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 13 +++++++++++++ google/cloud/bigquery/version.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67c43200b..5eda8912d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,19 @@ [1]: https://pypi.org/project/google-cloud-bigquery/#history +## [3.7.0](https://github.com/googleapis/python-bigquery/compare/v3.6.0...v3.7.0) (2023-03-06) + + +### Features + +* Add `connection_properties` and `create_session` to `LoadJobConfig` ([#1509](https://github.com/googleapis/python-bigquery/issues/1509)) ([cd0aaa1](https://github.com/googleapis/python-bigquery/commit/cd0aaa15960e9ca7a0aaf411c8e4990f95421816)) +* Add default_query_job_config property and property setter to BQ client ([#1511](https://github.com/googleapis/python-bigquery/issues/1511)) ([a23092c](https://github.com/googleapis/python-bigquery/commit/a23092cad834c6a016f455d46fefa13bb6cdbf0f)) + + +### Documentation + +* Remove < 3.11 reference from README ([#1502](https://github.com/googleapis/python-bigquery/issues/1502)) ([c7417f4](https://github.com/googleapis/python-bigquery/commit/c7417f43563e20a3e6f1a57f46925fb274b28b07)) + ## [3.6.0](https://github.com/googleapis/python-bigquery/compare/v3.5.0...v3.6.0) (2023-02-22) diff --git a/google/cloud/bigquery/version.py b/google/cloud/bigquery/version.py index 102b96095..dc87b3c5b 100644 --- a/google/cloud/bigquery/version.py +++ b/google/cloud/bigquery/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "3.6.0" +__version__ = "3.7.0"