ashb commented on a change in pull request #16686:
URL: https://github.com/apache/airflow/pull/16686#discussion_r659718738
##########
File path: airflow/models/taskinstance.py
##########
@@ -1670,6 +1696,9 @@ def get(
'json': VariableJsonAccessor(),
'value': VariableAccessor(),
},
+ 'conn': {
+ 'value': ConnectionAccessor(),
+ },
Review comment:
So for variable is makes sense as there are two different ways of
accessing a variable (as a plain string, or trying to json parse it) but I
can't think of any case where we'd need this for connections, which always
return "structured" data.
Have I missed something?
--
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]