You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/09/21 16:56:37 UTC

[GitHub] [airflow] ashb commented on issue #26529: Variable.get inside of a custom Timetable breaks the Scheduler

ashb commented on issue #26529:
URL: https://github.com/apache/airflow/issues/26529#issuecomment-1253980834

   The "fix" for this is to be able to pass the session down to airflow.secrets.metastore.get_variable, but that isn't currently possible when calling `Variable`.
   
   The underlying issue here is that `@provide_session` does the wrong things; or looking deeper session handling in Airflow is too magic.


-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org