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

Skip to content

AttributeError: 'ClientOptions' object has no attribute 'api_audience' #1554

Closed
@Ark-kun

Description

@Ark-kun

The aiplatform package code is currently incompatible with google-cloud-core==2.2.3

The issue was introduced by #1454 and googleapis/googleapis@23f1a15

Environment details

  • google-cloud-aiplatform version: 1.15.1

Stack trace

/opt/conda/lib/python3.7/site-packages/google/cloud/aiplatform/utils/__init__.py in __getattr__(self, name)
    357                 credentials=self._credentials,
    358                 client_options=self._client_options,
--> 359                 client_info=self._client_info,
    360             )
    361             return getattr(temporary_client, name)

/opt/conda/lib/python3.7/site-packages/google/cloud/aiplatform_v1/services/pipeline_service/client.py in __init__(self, credentials, transport, client_options, client_info)
    626                 client_info=client_info,
    627                 always_use_jwt_access=True,
--> 628                 api_audience=client_options.api_audience,
    629             )
    630 

AttributeError: 'ClientOptions' object has no attribute 'api_audience'

See googleapis/python-cloud-core#208

Metadata

Metadata

Assignees

Labels

api: vertex-aiIssues related to the googleapis/python-aiplatform API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions