This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 24a5424  Add authentication to lineage endpoint for experimental API 
(#13870)
24a5424 is described below

commit 24a54242d56058846c7978130b3f37ca045d5142
Author: Ian Carroll <[email protected]>
AuthorDate: Wed Jan 27 13:47:45 2021 -0800

    Add authentication to lineage endpoint for experimental API (#13870)
---
 airflow/www/api/experimental/endpoints.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/airflow/www/api/experimental/endpoints.py 
b/airflow/www/api/experimental/endpoints.py
index ada059b..e24ed5e 100644
--- a/airflow/www/api/experimental/endpoints.py
+++ b/airflow/www/api/experimental/endpoints.py
@@ -389,6 +389,7 @@ def delete_pool(name):
 
 
 @api_experimental.route('/lineage/<string:dag_id>/<string:execution_date>', 
methods=['GET'])
+@requires_authentication
 def get_lineage(dag_id: str, execution_date: str):
     """Get Lineage details for a DagRun"""
     # Convert string datetime into actual datetime

Reply via email to