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-cncf-kubernetes¶
add_pod_suffix
- This function is deprecated. Please use add_unique_suffixcreate_pod_id
- This function is deprecated. Please use create_unique_id.KubernetesPodOperator.execute_complete
- use trigger_reentry instead.PodGenerator.add_xcom_sidecar
- This function is deprecated. Please use airflow.providers.cncf.kubernetes.utils.xcom_sidecar.add_xcom_sidecar insteadPodGenerator.gen_pod
- This method is deprecated and will be removed in the future releasesPodGenerator.make_unique_pod_id
- This method is deprecated. Use add_pod_suffix in kubernetes_helper_functions.PodManager.follow_container_logs
- Method follow_container_logs is deprecated. Use fetch_container_logs instead with option follow=True.
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-fab¶
FabAirflowSecurityManagerOverride.oauth_whitelists
- The ‘oauth_whitelists’ property is deprecated. Please use ‘oauth_allow_list’ instead.
apache-airflow-providers-google¶
BigQueryBaseCursor.cancel_query
- No instructions were provided.BigQueryBaseCursor.create_empty_dataset
- No instructions were provided.BigQueryBaseCursor.create_empty_table
- No instructions were provided.BigQueryBaseCursor.create_external_table
- No instructions were provided.BigQueryBaseCursor.delete_dataset
- No instructions were provided.BigQueryBaseCursor.get_dataset
- No instructions were provided.BigQueryBaseCursor.get_dataset_tables
- No instructions were provided.BigQueryBaseCursor.get_dataset_tables_list
- No instructions were provided.BigQueryBaseCursor.get_datasets_list
- No instructions were provided.BigQueryBaseCursor.get_schema
- No instructions were provided.BigQueryBaseCursor.get_tabledata
- No instructions were provided.BigQueryBaseCursor.insert_all
- No instructions were provided.BigQueryBaseCursor.patch_dataset
- No instructions were provided.BigQueryBaseCursor.patch_table
- No instructions were provided.BigQueryBaseCursor.poll_job_complete
- No instructions were provided.BigQueryBaseCursor.run_copy
- No instructions were provided.BigQueryBaseCursor.run_extract
- No instructions were provided.BigQueryBaseCursor.run_grant_dataset_view_access
- No instructions were provided.BigQueryBaseCursor.run_load
- No instructions were provided.BigQueryBaseCursor.run_query
- No instructions were provided.BigQueryBaseCursor.run_table_delete
- No instructions were provided.BigQueryBaseCursor.run_table_upsert
- No instructions were provided.BigQueryBaseCursor.run_with_configuration
- No instructions were provided.BigQueryBaseCursor.update_dataset
- No instructions were provided.BigQueryHook.cancel_query
- No instructions were provided.BigQueryHook.create_external_table
- No instructions were provided.BigQueryHook.credentials_path
- This property is no longer in actual use.BigQueryHook.get_dataset_tables_list
- No instructions were provided.BigQueryHook.get_service
- No instructions were provided.BigQueryHook.get_tabledata
- No instructions were provided.BigQueryHook.patch_dataset
- No instructions were provided.BigQueryHook.patch_table
- No instructions were provided.BigQueryHook.run_copy
- No instructions were provided.BigQueryHook.run_extract
- No instructions were provided.BigQueryHook.run_load
- No instructions were provided.BigQueryHook.run_query
- No instructions were provided.BigQueryHook.run_table_delete
- No instructions were provided.BigQueryHook.run_with_configuration
- No instructions were provided.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.GKECustomResourceHook
- No instructions were provided.GKEDeploymentHook
- No instructions were provided.GKEHook.get_client
- No instructions were provided.GKEHook.get_conn
- No instructions were provided.GKEJobHook
- No instructions were provided.GKEPodAsyncHook
- No instructions were provided.GKEPodHook
- No instructions were provided.LifeSciencesHook
- The Life Sciences API (beta) will be discontinued on July 8, 2025 in favor of Google Cloud Batch.SecretsManagerHook
- No instructions were provided.AutoMLHook.create_auto_ml_text_training_job
- Deprecation of AutoMLText APIAutoMLHook.get_auto_ml_text_training_job
- Deprecation of AutoMLText APICustomJobHook.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.BigQueryExecuteQueryOperator
- No instructions were provided.BigQueryPatchDatasetOperator
- No instructions were provided.DataflowCreateJavaJobOperator
- No instructions were provided.DataflowCreatePythonJobOperator
- 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.DataprocSubmitHadoopJobOperator
- No instructions were provided.DataprocSubmitHiveJobOperator
- No instructions were provided.DataprocSubmitPigJobOperator
- No instructions were provided.DataprocSubmitPySparkJobOperator
- No instructions were provided.DataprocSubmitSparkJobOperator
- No instructions were provided.DataprocSubmitSparkSqlJobOperator
- No instructions were provided.GKEStartPodOperator.get_gke_config_file
- 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.CreateAutoMLTextTrainingJobOperator
- No instructions were provided.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.CloudSecretManagerBackend.get_conn_uri
- No instructions were provided.BigQueryTableExistenceAsyncSensor
- No instructions were provided.BigQueryTableExistencePartitionAsyncSensor
- No instructions were provided.CloudComposerEnvironmentSensor
- No instructions were provided.GCSObjectExistenceAsyncSensor
- No instructions were provided.GoogleBaseHook.client_info
- No instructions were provided.GoogleAnalyticsHook
- The Google Analytics API v3 has sunset and is no longer available as of July 1, 2024.GoogleAnalyticsDataImportUploadOperator
- The Google Analytics API v3 has sunset and is no longer available as of July 1, 2024.GoogleAnalyticsDeletePreviousDataUploadsOperator
- The Google Analytics API v3 has sunset and is no longer available as of July 1, 2024.GoogleAnalyticsGetAdsLinkOperator
- The Google Analytics API v3 has sunset and is no longer available as of July 1, 2024.GoogleAnalyticsListAccountsOperator
- The Google Analytics API v3 has sunset and is no longer available as of July 1, 2024.GoogleAnalyticsRetrieveAdsLinksListOperator
- The Google Analytics API v3 has sunset and is no longer available as of July 1, 2024.
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 insteadAzureBlobStorageToGCSOperator
- 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 APIPagerdutyEventsHook.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 futureSqlToSlackWebhookOperator.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.0SSHOperator.exec_ssh_client_command
- exec_ssh_client_command method on SSHOperator is deprecated, call ssh_hook.exec_ssh_client_command insteadSSHOperator.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