ferruzzi commented on code in PR #29001:
URL: https://github.com/apache/airflow/pull/29001#discussion_r1073066073
##########
airflow/providers/amazon/aws/sensors/ec2.py:
##########
@@ -62,8 +63,11 @@ def __init__(
self.aws_conn_id = aws_conn_id
self.region_name = region_name
+ @cached_property
+ def hook(self):
+ return EC2Hook(aws_conn_id=self.aws_conn_id,
region_name=self.region_name)
Review Comment:
That's fair. :+1: Feel free to resolve/close this.
--
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]