Copilot commented on code in PR #64627:
URL: https://github.com/apache/airflow/pull/64627#discussion_r3066478108
##########
airflow-core/src/airflow/api_fastapi/core_api/routes/public/event_logs.py:
##########
@@ -70,6 +72,9 @@ def get_event_log(
return event_log
+# Getting audit logs is an admin feature giving access to the logs for
+# the whole Airflow installation, not on a more granular level. This is
documented
+# at
https://airflow.apache.org/docs/apache-airflow/stable/security/security_model.html#audit-log-users
Review Comment:
The same 3-line explanatory comment is duplicated above both endpoints. To
avoid having to keep two copies in sync, consider keeping a single module-level
comment (e.g., above `event_logs_router`) or folding this into one endpoint’s
docstring/description and removing the duplicate block.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]