ashb commented on a change in pull request #16686:
URL: https://github.com/apache/airflow/pull/16686#discussion_r659593047
##########
File path: airflow/models/taskinstance.py
##########
@@ -1670,6 +1696,9 @@ def get(
'json': VariableJsonAccessor(),
'value': VariableAccessor(),
},
+ 'conn': {
+ 'value': ConnectionAccessor(),
+ },
Review comment:
```suggestion
'conn': ConnectionAccessor(),
```
We don't need the `value` subitem here, as conn can only ever return one
thing.
--
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]