syedahsn commented on code in PR #31960: URL: https://github.com/apache/airflow/pull/31960#discussion_r1234552643
########## airflow/providers/amazon/aws/operators/eks.py: ########## @@ -59,7 +59,55 @@ FARGATE_FULL_NAME = "AWS Fargate profiles" -class EksCreateClusterOperator(BaseOperator): +class BaseEksCreateOperator(BaseOperator): + """ + Base class for EKS Operators that create cluster resources. This includes + EksCreateClusterOperator, EksCreateNodeGroupOperator and EksCreateFargateProfileOperator. + + """ + + def __init__(self, **kwargs): + self.eks_hook = EksHook(aws_conn_id=self.aws_conn_id, region_name=self.region) + super().__init__(**kwargs) Review Comment: No particular reason. I didn't really pay attention to the order :sweat_smile: -- 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]
