diff --git a/astronomer/providers/amazon/aws/operators/emr.py b/astronomer/providers/amazon/aws/operators/emr.py index 24295e947..c21bfe261 100644 --- a/astronomer/providers/amazon/aws/operators/emr.py +++ b/astronomer/providers/amazon/aws/operators/emr.py @@ -19,4 +19,4 @@ def __init__(self, *args, **kwargs): # type: ignore[no-untyped-def] DeprecationWarning, stacklevel=2, ) - return super().__init__(*args, deferrable=True, **kwargs) + super().__init__(*args, deferrable=True, **kwargs) diff --git a/astronomer/providers/amazon/aws/operators/redshift_cluster.py b/astronomer/providers/amazon/aws/operators/redshift_cluster.py index a7340db61..4e107d83e 100644 --- a/astronomer/providers/amazon/aws/operators/redshift_cluster.py +++ b/astronomer/providers/amazon/aws/operators/redshift_cluster.py @@ -23,7 +23,7 @@ def __init__(self, *args, **kwargs): # type: ignore[no-untyped-def] DeprecationWarning, stacklevel=2, ) - return super().__init__(*args, deferrable=True, **kwargs) + super().__init__(*args, deferrable=True, **kwargs) class RedshiftResumeClusterOperatorAsync(RedshiftResumeClusterOperator): @@ -42,7 +42,7 @@ def __init__(self, *args, **kwargs): # type: ignore[no-untyped-def] DeprecationWarning, stacklevel=2, ) - return super().__init__(*args, deferrable=True, **kwargs) + super().__init__(*args, deferrable=True, **kwargs) class RedshiftPauseClusterOperatorAsync(RedshiftPauseClusterOperator): @@ -61,4 +61,4 @@ def __init__(self, *args, **kwargs): # type: ignore[no-untyped-def] DeprecationWarning, stacklevel=2, ) - return super().__init__(*args, deferrable=True, **kwargs) + super().__init__(*args, deferrable=True, **kwargs)