Skip to content

Commit

Permalink
Remove logging for "blocked" events
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushjain2809 committed Jun 26, 2024
1 parent f97c297 commit a5c92ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions airflow/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2490,10 +2490,9 @@ def dagrun_clear(self, *, session: Session = NEW_SESSION):

@expose("/blocked", methods=["POST"])
@auth.has_access_dag("GET", DagAccessEntity.RUN)
@action_logging
@provide_session
def blocked(self, session: Session = NEW_SESSION):
"""Mark Dag Blocked."""
"""Retrieve active_dag_runs and max_active_runs information for running Dags."""
allowed_dag_ids = get_auth_manager().get_permitted_dag_ids(user=g.user)

# Filter by post parameters
Expand Down

0 comments on commit a5c92ff

Please sign in to comment.