Skip to content

Commit 93957e9

Browse files
authored
Add authentication to experimental API endpoint.
1 parent 702e3ee commit 93957e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

airflow/www/api/experimental/endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ def delete_pool(name):
389389

390390

391391
@api_experimental.route('/lineage/<string:dag_id>/<string:execution_date>', methods=['GET'])
392+
@requires_authentication
392393
def get_lineage(dag_id: str, execution_date: str):
393394
"""Get Lineage details for a DagRun"""
394395
# Convert string datetime into actual datetime

0 commit comments

Comments
 (0)