uranusjr commented on issue #15325:
URL: https://github.com/apache/airflow/issues/15325#issuecomment-817793534


   The “ultimate” fix IMO would be to make the XCom class a proxy that’s lazily 
loaded instead (similar to [how Django loads the user 
class](https://docs.djangoproject.com/en/3.2/topics/auth/customizing/#django.contrib.auth.get_user_model)).
 But for a simple workaround, `airflow.hooks.base` only reference `Connection` 
once in `BaseHook.get_connection()`, so that’s a good place to break the cycle.


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to