kolfild26 commented on code in PR #28998:
URL: https://github.com/apache/airflow/pull/28998#discussion_r1080595774
##########
airflow/api_connexion/endpoints/dag_run_endpoint.py:
##########
@@ -319,6 +320,27 @@ def post_dag_run(*, dag_id: str, session: Session =
NEW_SESSION) -> APIResponse:
dag_hash=get_airflow_app().dag_bag.dags_hash.get(dag_id),
session=session,
)
+ from airflow.models.log import Log
Review Comment:
@ephraimbuddy thanks, my dev env was a bit outdated so I didn't have this
decorator.
Updated and changed the way for db insertion. Please review.
--
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]