anishgirianish commented on code in PR #62343:
URL: https://github.com/apache/airflow/pull/62343#discussion_r3177830013


##########
task-sdk/src/airflow/sdk/execution_time/context.py:
##########
@@ -144,7 +145,16 @@ def _convert_variable_result_to_variable(var_result: 
VariableResult, deserialize
     return Variable(**var_result.model_dump(exclude={"type"}))
 
 
+_preset_connections: ContextVar[dict[str, Connection]] = 
ContextVar("_preset_connections", default={})

Review Comment:
   Done, default=None + guards at both read sites + merge-not-replace inside 
test_connection().     



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