You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/08/07 14:14:28 UTC
(airflow) branch main updated (0c0ae6fbcfb -> e35e851d4e2)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from 0c0ae6fbcfb Update usage of timeout contextmanager from SDK where possible (#54183)
add e35e851d4e2 Add get_secret function to the common/utils in google provider to reuse it in system tests. Rework example_vertex_ai_generative_model.py, example_vertex_ai_generative_model_tuning.py system tests to accept api-key from secret manager. Add model field to the rendered template in generative_model operators. Add small fix for the generate from cached content operator. (#54213)
No new revisions were added by this update.
Summary of changes:
.../cloud/hooks/vertex_ai/generative_model.py | 3 +
.../cloud/operators/vertex_ai/generative_model.py | 11 +++-
.../providers/google/common/utils/get_secret.py | 20 +++----
.../example_vertex_ai_generative_model.py | 51 +++++++++++++----
.../example_vertex_ai_generative_model_tuning.py | 32 +++++++++--
.../marketing_platform/example_analytics_admin.py | 10 +---
.../marketing_platform/example_campaign_manager.py | 11 +---
.../marketing_platform/example_display_video.py | 13 +----
.../unit/google/common/utils/test_get_secret.py | 66 ++++++++++++++++++++++
9 files changed, 155 insertions(+), 62 deletions(-)
copy airflow-core/src/airflow/datasets/metadata.py => providers/google/src/airflow/providers/google/common/utils/get_secret.py (66%)
create mode 100644 providers/google/tests/unit/google/common/utils/test_get_secret.py