Skip to content

Commit

Permalink
Add authentication to lineage endpoint for experimental API (#13870)
Browse files Browse the repository at this point in the history
(cherry picked from commit 24a5424)
  • Loading branch information
iangcarroll authored and kaxil committed Feb 4, 2021
1 parent 4b1a6f7 commit 21cedff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions airflow/www/api/experimental/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 21cedff

Please sign in to comment.