You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "eladkal (via GitHub)" <gi...@apache.org> on 2023/10/13 10:56:33 UTC
Re: [PR] fix(gcp/op/vertex): typecast ListEndpoints to avoid DAG run blocker [airflow]
eladkal commented on PR #34582:
URL: https://github.com/apache/airflow/pull/34582#issuecomment-1761320270
> > I think iter on ListEndpointsPager returns a list of ListEndpoints which needs a second iter to get Endpoint
>
> `ListEndpointsPager` actually returns an object of `ListEndpointsRequest`, which will in turn have the `endpoints` field where the `__iter` method on `ListeEndpointsPager` would work on.
>
> > Did you find an explanation for why the API response is not an instance of Endpoint in the reported issue and what is its type
>
> Sadly I don't have access to GCP's Vertex AI on this and had to resort to working locally :( It's definitely odd that plenty of operators also iterate pagers like this and none got reported like this case.
Google offers 300$ in credits for trail account
https://cloud.google.com/free
so it is possible to test it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org