Deprecations

This is a summary of deprecated objects in latest versions of Apache Airflow Providers Packages.

Note

This is an experimental page that may not contain all deprecated entities. At the moment we only show deprecations for classes, functions, methods, properties etc. Support for an argument deprecation or an argument value deprecation will be added in the future.

apache-airflow-providers-alibaba

  • AnalyticDBSparkBaseOperator.get_hook - use hook property instead.

  • AnalyticDBSparkSensor.get_hook - use hook property instead.

  • OSSKeySensor.get_hook - use hook property instead.

apache-airflow-providers-apache-beam

  • BeamPipelineTrigger - BeamPipelineTrigger is deprecated. Please use BeamPythonPipelineTrigger.

apache-airflow-providers-apache-drill

  • DrillOperator - Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.

apache-airflow-providers-apache-druid

  • DruidCheckOperator - Please use airflow.providers.common.sql.operators.sql.SQLCheckOperator.

apache-airflow-providers-apache-livy

  • LivyOperator.get_hook - use hook property instead.

apache-airflow-providers-celery

  • CeleryExecutor.cleanup_stuck_queued_tasks - Replaced by function revoke_task. Upgrade airflow core to make this go away.

  • CeleryKubernetesExecutor.cleanup_stuck_queued_tasks - Replaced by function revoke_task. Upgrade airflow core to make this go away.

apache-airflow-providers-cncf-kubernetes

  • KubernetesExecutor.cleanup_stuck_queued_tasks - Replaced by function revoke_task. Upgrade airflow core to make this go away.

  • LocalKubernetesExecutor.cleanup_stuck_queued_tasks - Replaced by function revoke_task. Upgrade airflow core to make this go away.

apache-airflow-providers-databricks

  • DatabricksRunNowDeferrableOperator - DatabricksRunNowDeferrableOperator has been deprecated. Please use airflow.providers.databricks.operators.DatabricksRunNowOperator with deferrable=True instead.

  • DatabricksSubmitRunDeferrableOperator - DatabricksSubmitRunDeferrableOperator has been deprecated. Please use airflow.providers.databricks.operators.DatabricksSubmitRunOperator with deferrable=True instead.

apache-airflow-providers-dbt-cloud

  • DbtCloudJobRunAsyncSensor - Class DbtCloudJobRunAsyncSensor is deprecated and will be removed in a future release. Please use DbtCloudJobRunSensor and set deferrable attribute to True instead

apache-airflow-providers-docker

  • DockerOperator.get_hook - use hook property instead.

apache-airflow-providers-elasticsearch

  • ElasticsearchHook - Please use airflow.providers.elasticsearch.hooks.elasticsearch.ElasticsearchSQLHook.

apache-airflow-providers-google

  • split_tablename - No instructions were provided.

  • CloudBuildHook.create_build - No instructions were provided.

  • DataflowHook.start_java_dataflow - No instructions were provided.

  • DataflowHook.start_python_dataflow - No instructions were provided.

  • DataPipelineHook - No instructions were provided.

  • LifeSciencesHook - The Life Sciences API (beta) will be discontinued on July 8, 2025 in favor of Google Cloud Batch.

  • AutoMLHook.create_auto_ml_text_training_job - Deprecation of AutoMLText API

  • AutoMLHook.get_auto_ml_text_training_job - Deprecation of AutoMLText API

  • CustomJobHook.cancel_pipeline_job - No instructions were provided.

  • CustomJobHook.create_pipeline_job - No instructions were provided.

  • CustomJobHook.delete_pipeline_job - No instructions were provided.

  • CustomJobHook.get_pipeline_job - No instructions were provided.

  • CustomJobHook.list_pipeline_jobs - No instructions were provided.

  • GenerativeModelHook.generate_text_embeddings - No instructions were provided.

  • GenerativeModelHook.get_generative_model_part - No instructions were provided.

  • GenerativeModelHook.prompt_language_model - No instructions were provided.

  • GenerativeModelHook.prompt_multimodal_model - No instructions were provided.

  • GenerativeModelHook.prompt_multimodal_model_with_media - No instructions were provided.

  • AutoMLDatasetLink - No instructions were provided.

  • AutoMLDatasetListLink - No instructions were provided.

  • AutoMLModelLink - No instructions were provided.

  • AutoMLModelPredictLink - No instructions were provided.

  • AutoMLModelTrainLink - No instructions were provided.

  • AutoMLBatchPredictOperator - No instructions were provided.

  • DataflowStartSqlJobOperator - No instructions were provided.

  • DataFusionPipelineLinkHelper.get_project_id - No instructions were provided.

  • CreateDataPipelineOperator - No instructions were provided.

  • RunDataPipelineOperator - No instructions were provided.

  • DataprocScaleClusterOperator - No instructions were provided.

  • LifeSciencesRunPipelineOperator - The Life Sciences API (beta) will be discontinued on July 8, 2025 in favor of Google Cloud Batch.

  • MLEngineCreateModelOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • MLEngineCreateVersionOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • MLEngineDeleteModelOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • MLEngineDeleteVersionOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • MLEngineGetModelOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • MLEngineListVersionsOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • MLEngineManageModelOperator - No instructions were provided.

  • MLEngineManageVersionOperator - No instructions were provided.

  • MLEngineSetDefaultVersionOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • MLEngineStartBatchPredictionJobOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • MLEngineStartTrainingJobOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • MLEngineTrainingCancelJobOperator - All the functionality of legacy MLEngine and new features are available on the Vertex AI.

  • DeleteAutoMLTrainingJobOperator.training_pipeline - No instructions were provided.

  • DeleteCustomTrainingJobOperator.custom_job - No instructions were provided.

  • DeleteCustomTrainingJobOperator.training_pipeline - No instructions were provided.

  • GenerateTextEmbeddingsOperator - No instructions were provided.

  • PromptLanguageModelOperator - No instructions were provided.

  • PromptMultimodalModelOperator - No instructions were provided.

  • PromptMultimodalModelWithMediaOperator - No instructions were provided.

  • GoogleBaseHook.client_info - No instructions were provided.

apache-airflow-providers-hashicorp

  • VaultBackend.get_conn_uri - Method VaultBackend.get_conn_uri is deprecated and will be removed in a future release.

apache-airflow-providers-http

  • SimpleHttpOperator - Class SimpleHttpOperator is deprecated and will be removed in a future release. Please use HttpOperator instead.

apache-airflow-providers-jdbc

  • JdbcOperator - Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.

apache-airflow-providers-jenkins

  • JenkinsJobTriggerOperator.get_hook - use hook property instead.

apache-airflow-providers-microsoft-azure

  • AzureContainerInstanceHook.get_messages - get_messages() is deprecated. Related method is get_state()

  • AzureContainerInstanceHook.get_state_exitcode_details - get_state_exitcode_details() is deprecated. Related method is get_state()

  • AzureDataExplorerQueryOperator.get_hook - use hook property instead.

  • AzureBatchOperator.get_hook - use hook property instead.

  • AzureKeyVaultBackend.get_conn_uri - Method AzureKeyVaultBackend.get_conn_uri is deprecated and will be removed in a future release. Please use method get_conn_value instead.

  • WasbBlobAsyncSensor - Class WasbBlobAsyncSensor is deprecated and will be removed in a future release. Please use WasbBlobSensor and set deferrable attribute to True instead

  • AzureBlobStorageToGCSOperator - Please use airflow.providers.google.cloud.transfers.azure_blob_to_gcs.AzureBlobStorageToGCSOperator.

apache-airflow-providers-microsoft-mssql

  • MsSqlOperator - Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.Also, you can provide hook_params={‘schema’: <database>}.

apache-airflow-providers-mysql

  • MySqlOperator - Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.Also, you can provide hook_params={‘schema’: <database>}.

apache-airflow-providers-openlineage

  • normalize_sql - airflow.providers.openlineage.utils.utils.normalize_sql has been deprecated and will be removed in future

apache-airflow-providers-oracle

  • OracleOperator - Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.

apache-airflow-providers-pagerduty

  • PagerdutyHook.create_event - This method will be deprecated. Please use the airflow.providers.pagerduty.hooks.PagerdutyEventsHook to interact with the Events API

  • PagerdutyEventsHook.create_event - This method will be deprecated. Please use the PagerdutyEventsHook.send_event to interact with the Events API

apache-airflow-providers-postgres

  • PostgresHook.schema - The “schema” variable has been renamed to “database” as it contained the database name.Please use “database” to get the database name.

  • PostgresHook.schema - The “schema” variable has been renamed to “database” as it contained the database name.Please use “database” to set the database name.

  • PostgresOperator - Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.Also, you can provide hook_params={‘schema’: <database>}.

apache-airflow-providers-slack

  • SlackHook.send_file - This method utilise files.upload Slack API method which is being sunset on March 11, 2025. Beginning May 8, 2024, newly-created apps will be unable to ‘files.upload’ Slack API. Please use send_file_v2 or send_file_v1_to_v2 instead.

  • SqlToSlackOperator - airflow.providers.slack.transfers.sql_to_slack.SqlToSlackOperator has been renamed and moved airflow.providers.slack.transfers.sql_to_slack_webhook.SqlToSlackWebhookOperator this operator deprecated and will be removed in future

  • SqlToSlackWebhookOperator.slack_conn_id - SqlToSlackWebhookOperator.slack_conn_id property deprecated and will be removed in a future. Please use slack_webhook_conn_id instead.

apache-airflow-providers-snowflake

  • SnowflakeOperator - This class is deprecated. Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator. Also, you can provide hook_params={‘warehouse’: <warehouse>, ‘database’: <database>, ‘role’: <role>, ‘schema’: <schema>, ‘authenticator’: <authenticator>,’session_parameters’: <session_parameters>}.

apache-airflow-providers-sqlite

  • SqliteOperator - Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.

apache-airflow-providers-ssh

  • SSHHook.create_tunnel - SSHHook.create_tunnel is deprecated, Please use get_tunnel() instead. But please note that the order of the parameters have changed. This method will be removed in Airflow 2.0

  • SSHOperator.exec_ssh_client_command - exec_ssh_client_command method on SSHOperator is deprecated, call ssh_hook.exec_ssh_client_command instead

  • SSHOperator.get_hook - use hook property instead.

apache-airflow-providers-trino

  • TrinoOperator - Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.

apache-airflow-providers-vertica

  • VerticaOperator - Please use airflow.providers.common.sql.operators.sql.SQLExecuteQueryOperator.

apache-airflow-providers-yandex

  • DataprocHook.client - client deprecated and will be removed in the future. Use dataproc_client instead

Was this entry helpful?