Skip to content

Conversation

@moiseenkov
Copy link
Contributor

Removed deprecated functionality from Google provider that reached end of life on January 31, 2025:

  • Operators

    • Removed AutoMLBatchPredictOperator. Please use the operators from airflow.providers.google.cloud.operators.vertex_ai.batch_prediction_job instead
    • Removed DataflowStartSqlJobOperator. Please DataflowStartYamlJobOperator instead
    • Removed PromptLanguageModelOperator. Please TextGenerationModelPredictOperator instead
    • Removed GenerateTextEmbeddingsOperator. Please TextEmbeddingModelGetEmbeddingsOperator instead
    • Removed PromptMultimodalModelOperator. Please GenerativeModelGenerateContentOperator instead
    • Removed PromptMultimodalModelWithMediaOperator. Please GenerativeModelGenerateContentOperator instead
  • Hooks

    • Removed GenerativeModelHook.prompt_multimodal_model_with_media(). Please use GenerativeModelHook.generative_model_generate_content() instead
    • Removed GenerativeModelHook.prompt_multimodal_model(). Please use GenerativeModelHook.generative_model_generate_content() instead
    • Removed GenerativeModelHook.get_generative_model_part(). Please use GenerativeModelHook.generative_model_generate_content() instead
    • Removed GenerativeModelHook.prompt_language_model(). Please use GenerativeModelHook.text_generation_model_predict() instead
    • Removed GenerativeModelHook.generate_text_embeddings(). Please use GenerativeModelHook.text_generation_model_predict() instead

@moiseenkov moiseenkov requested a review from potiuk as a code owner January 29, 2025 11:41
@boring-cyborg boring-cyborg bot added area:production-image Production image improvements and fixes area:providers kind:documentation provider:google Google (including GCP) related issues labels Jan 29, 2025
@moiseenkov moiseenkov force-pushed the remove-redprecations-end-of-january-2025 branch from ca8dff8 to 97bc676 Compare January 30, 2025 09:34
Copy link
Contributor

@shahar1 shahar1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work, thank you!

@shahar1 shahar1 merged commit 826fcc9 into apache:main Jan 31, 2025
62 checks passed
Prab-27 pushed a commit to Prab-27/airflow that referenced this pull request Jan 31, 2025
niklasr22 pushed a commit to niklasr22/airflow that referenced this pull request Feb 8, 2025
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:production-image Production image improvements and fixes area:providers kind:documentation provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants