You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow Variable.get_variable_from_secrets to reuse a caller's session #71801
The helper can't be used under the scheduler's prohibit_commit: MetastoreBackend.get_variable's @provide_session opens the same scoped session and its commit trips the guard, so such callers must duplicate the backend walk.
Fix: optional keyword-only session=None, forwarded only to MetastoreBackend. Then the duplicated loop in serialization/definitions/dag.py can be deleted (see #68917).
Activity
Allow Variable.get to reuse the caller's database session