Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for listing arima, automl, boosted tree, DNN, and matrix factorization models #328

Merged
merged 5 commits into from Oct 19, 2020

Conversation

@yoshi-automation
Copy link
Contributor

@yoshi-automation yoshi-automation commented Oct 15, 2020

This PR was generated using Autosynth. 馃寛

Synth log will be available here:
https://source.cloud.google.com/results/invocations/8fbf1ad6-9fa3-46c1-a227-ac96f69339ac/targets

  • To automatically regenerate this PR, check this box.

Closes #293

PiperOrigin-RevId: 337113354
Source-Link: googleapis/googleapis@215c12a

        autosynth cannot find the source of changes triggered by earlier changes in this
        repository, or by version upgrades to tools such as linters.
鈥tics

PiperOrigin-RevId: 337113354

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Oct 14 10:04:20 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 215c12ade72d9d9616457d9b8b2f8a37f38e79f3
Source-Link: googleapis/googleapis@215c12a
This should allow us to merge the fixes for `list_models` and avoid a breaking change until `proto-plus` becomes acceptable for our use.
@tswast tswast changed the title [CHANGE ME] Re-generated to pick up changes from googleapis. feat: add support for listing arima, automl, boosted tree, DNN, and matrix factorization models Oct 19, 2020
tswast
tswast approved these changes Oct 19, 2020
@tswast
Copy link
Contributor

@tswast tswast commented Oct 19, 2020

Test failure was

____________________ test_all_gapic_enum_members_are_known _____________________

module_under_test = <module 'google.cloud.bigquery.enums' from '/tmpfs/src/github/python-bigquery/google/cloud/bigquery/enums.py'>
gapic_enum = <enum 'TypeKind'>

    def test_all_gapic_enum_members_are_known(module_under_test, gapic_enum):
        gapic_names = set(type_.name for type_ in gapic_enum)
        anticipated_names = (
            module_under_test._SQL_SCALAR_TYPES | module_under_test._SQL_NONSCALAR_TYPES
        )
>       assert not (gapic_names - anticipated_names)  # no unhandled names
E       AssertionError: assert not ({'ARRAY', 'BIGNUMERIC', 'BOOL', 'BYTES', 'DATE', 'DATETIME', ...} - frozenset({'ARRAY', 'BOOL', 'BYTES', 'DATE', 'DATETIME', 'FLOAT64', ...}))

tests/unit/enums/test_standard_sql_data_types.py:45: AssertionError

I've pushed an update to enums.py to keep our manual "enum" class (really just string constants) in sync.

Loading

@tswast tswast merged commit 502a092 into master Oct 19, 2020
10 checks passed
Loading
gcf-merge-on-green bot pushed a commit that referenced this issue Oct 19, 2020
馃 I have created a release \*beep\* \*boop\* 
---
## [2.2.0](https://www.github.com/googleapis/python-bigquery/compare/v2.1.0...v2.2.0) (2020-10-19)


### Features

* add method api_repr for table list item ([#299](https://www.github.com/googleapis/python-bigquery/issues/299)) ([07c70f0](https://www.github.com/googleapis/python-bigquery/commit/07c70f0292f9212f0c968cd5c9206e8b0409c0da))
* add support for listing arima, automl, boosted tree, DNN, and matrix factorization models ([#328](https://www.github.com/googleapis/python-bigquery/issues/328)) ([502a092](https://www.github.com/googleapis/python-bigquery/commit/502a0926018abf058cb84bd18043c25eba15a2cc))
* add timeout paramter to load_table_from_file and it dependent methods ([#327](https://www.github.com/googleapis/python-bigquery/issues/327)) ([b0dd892](https://www.github.com/googleapis/python-bigquery/commit/b0dd892176e31ac25fddd15554b5bfa054299d4d))
* add to_api_repr method to Model ([#326](https://www.github.com/googleapis/python-bigquery/issues/326)) ([fb401bd](https://www.github.com/googleapis/python-bigquery/commit/fb401bd94477323bba68cf252dd88166495daf54))
* allow client options to be set in magics context ([#322](https://www.github.com/googleapis/python-bigquery/issues/322)) ([5178b55](https://www.github.com/googleapis/python-bigquery/commit/5178b55682f5e264bfc082cde26acb1fdc953a18))


### Bug Fixes

* make TimePartitioning repr evaluable ([#110](https://www.github.com/googleapis/python-bigquery/issues/110)) ([20f473b](https://www.github.com/googleapis/python-bigquery/commit/20f473bfff5ae98377f5d9cdf18bfe5554d86ff4)), closes [#109](https://www.github.com/googleapis/python-bigquery/issues/109)
* use version.py instead of pkg_resources.get_distribution ([#307](https://www.github.com/googleapis/python-bigquery/issues/307)) ([b8f502b](https://www.github.com/googleapis/python-bigquery/commit/b8f502b14f21d1815697e4d57cf1225dfb4a7c5e))


### Performance Improvements

* add size parameter for load table from dataframe and json methods ([#280](https://www.github.com/googleapis/python-bigquery/issues/280)) ([3be78b7](https://www.github.com/googleapis/python-bigquery/commit/3be78b737add7111e24e912cd02fc6df75a07de6))


### Documentation

* update clustering field docstrings ([#286](https://www.github.com/googleapis/python-bigquery/issues/286)) ([5ea1ece](https://www.github.com/googleapis/python-bigquery/commit/5ea1ece2d911cdd1f3d9549ee01559ce8ed8269a)), closes [#285](https://www.github.com/googleapis/python-bigquery/issues/285)
* update snippets samples to support version 2.0 ([#309](https://www.github.com/googleapis/python-bigquery/issues/309)) ([61634be](https://www.github.com/googleapis/python-bigquery/commit/61634be9bf9e3df7589fc1bfdbda87288859bb13))


### Dependencies

* add protobuf dependency ([#306](https://www.github.com/googleapis/python-bigquery/issues/306)) ([cebb5e0](https://www.github.com/googleapis/python-bigquery/commit/cebb5e0e911e8c9059bc8c9e7fce4440e518bff3)), closes [#305](https://www.github.com/googleapis/python-bigquery/issues/305)
* require pyarrow for pandas support ([#314](https://www.github.com/googleapis/python-bigquery/issues/314)) ([801e4c0](https://www.github.com/googleapis/python-bigquery/commit/801e4c0574b7e421aa3a28cafec6fd6bcce940dd)), closes [#265](https://www.github.com/googleapis/python-bigquery/issues/265)
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants