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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Ark-kun opened this issue Jul 29, 2022 · 1 comment
Closed
Assignees
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.

Comments

@Ark-kun
Copy link
Contributor

Ark-kun commented Jul 29, 2022

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

@product-auto-label product-auto-label bot added the api: vertex-ai Issues related to the googleapis/python-aiplatform API. label Jul 29, 2022
@rosiezou rosiezou self-assigned this Aug 3, 2022
@temurchichua
Copy link

Do I have to stick with google-api-core >= 1.31.6 or is there any other solution for this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vertex-ai Issues related to the googleapis/python-aiplatform API.
Projects
None yet
Development

No branches or pull requests

3 participants