jason810496 commented on code in PR #51738: URL: https://github.com/apache/airflow/pull/51738#discussion_r2164305439
########## airflow-core/src/airflow/api_fastapi/core_api/routes/public/assets.py: ########## @@ -381,6 +383,7 @@ def materialize_asset( run_after=run_after, run_type=DagRunType.MANUAL, triggered_by=DagRunTriggeredByType.REST_API, + triggering_user=user.get_name(), Review Comment: I think using `get_name` should be fine, which also align the current audit log behavior. Since the `action_logging` decorator used in core-api also use the `user.get_name()` to record username in the `Log` table. -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org