ramonvermeulen commented on PR #46911:
URL: https://github.com/apache/airflow/pull/46911#issuecomment-2729945061

   @ashb 
   
   Since I am back from holidays, I tried to do the implementation via 
`OperatorExtraLinks`. However, I have a hard time testing the set-up. I 
recently pulled in the latest changes from the upstream airflow repository, and 
when I run `breeze start-airflow` it uses Airflow 3 now.
   
   With Airflow 3, I get the following error on the base class I am using:
   
   `Direct database access via the ORM is not allowed in Airflow 3.0`
   
   Line causing the error: 
https://github.com/apache/airflow/blob/2bc6f09ea3865cb0c0479efa88cab5256e96f7e3/providers/google/src/airflow/providers/google/cloud/links/base.py#L54
   
   If this is something that needs to be solved for Airflow 3 for all the 
Google Provider Links anyways, it would be nice if I can add that to the PR. 
However, since this is my first PR I do not have a great understanding of the 
airflow codebase (yet). Not sure what should be used instead of the ORM in 
Airflow 3> to access the XCom from an OperatorExtraLink?


-- 
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]

Reply via email to