feat: add support for listing arima, automl, boosted tree, DNN, and matrix factorization models by yoshi-automation · Pull Request #328 · googleapis/python-bigquery
____________________ 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.