Skip to content

Commit

Permalink
Merge branch 'main' into revert-deprecate-S3KeysUnchangedSensorAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-W authored Dec 22, 2023
2 parents 1c3fb4f + 7ff0ea2 commit 17ad209
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion astronomer/providers/amazon/aws/operators/redshift_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(
) -> None:
self.redshift_conn_id = redshift_conn_id
self.poll_interval = poll_interval
if self.__class__.__base__.__name__ == "RedshiftSQLOperator":
if self.__class__.__base__.__name__ == "RedshiftSQLOperator": # type: ignore[union-attr]
# It's better to do str check of the parent class name because currently RedshiftSQLOperator
# is deprecated and in future OSS RedshiftSQLOperator may be removed
super().__init__(**kwargs)
Expand Down
4 changes: 2 additions & 2 deletions astronomer/providers/snowflake/operators/snowflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def __init__(
self.authenticator = authenticator
self.session_parameters = session_parameters
self.snowflake_conn_id = snowflake_conn_id
if self.__class__.__base__.__name__ != "SnowflakeOperator":
if self.__class__.__base__.__name__ != "SnowflakeOperator": # type: ignore[union-attr]
# It's better to do str check of the parent class name because currently SnowflakeOperator
# is deprecated and in future OSS SnowflakeOperator may be removed
if any(
Expand Down Expand Up @@ -319,7 +319,7 @@ def __init__(
self.token_renewal_delta = token_renewal_delta
self.bindings = bindings
self.execute_async = False
if self.__class__.__base__.__name__ != "SnowflakeOperator":
if self.__class__.__base__.__name__ != "SnowflakeOperator": # type: ignore[union-attr]
# It's better to do str check of the parent class name because currently SnowflakeOperator
# is deprecated and in future OSS SnowflakeOperator may be removed
if any(
Expand Down

0 comments on commit 17ad209

Please sign in to comment.