Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

tests.system.gapic.v1beta1.test_system_tables_client_v1.TestSystemTablesClient: test_list_models failed #336

Closed
@flaky-bot

Description

@flaky-bot

This test failed!

To configure my behavior, see the Flaky Bot documentation.

If I'm commenting on this issue too often, add the flakybot: quiet label and
I will stop commenting.


commit: f2e89d0
buildURL: Build Status, Sponge
status: failed

Test output
self = 
@vpcsc_config.skip_if_inside_vpcsc
def test_list_models(self):
    client = automl_v1beta1.TablesClient(project=PROJECT, region=REGION)
    model = self.ensure_model_ready(client)
    # will raise if not found
  next(iter([m for m in client.list_models(timeout=10) if m.name == model.name]))

tests/system/gapic/v1beta1/test_system_tables_client_v1.py:77:


google/cloud/automl_v1beta1/services/tables/tables_client.py:2129: in list_models
method_kwargs = self.__process_request_kwargs(request, **kwargs)
google/cloud/automl_v1beta1/services/tables/tables_client.py:472: in __process_request_kwargs
setattr(request, key, value)


self = parent: "projects/precise-truck-742/locations/us-central1"

key = 'timeout', value = 10

def __setattr__(self, key, value):
    """Set the value on the given field.

    For well-known protocol buffer types which are marshalled, either
    the protocol buffer object or the Python equivalent is accepted.
    """
    if key[0] == "_":
        return super().__setattr__(key, value)
    marshal = self._meta.marshal
    (key, pb_type) = self._get_pb_type_from_key(key)
    if pb_type is None:
      raise AttributeError(
            "Unknown field for {}: {}".format(self.__class__.__name__, key)
        )

E AttributeError: Unknown field for ListModelsRequest: timeout

.nox/system-3-8/lib/python3.8/site-packages/proto/message.py:732: AttributeError

Metadata

Metadata

Labels

api: automlIssues related to the googleapis/python-automl API.flakybot: issueAn issue filed by the Flaky Bot. Should not be added manually.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions