Skip to content

Commit

Permalink
fix: COMMAND string should be raw to avoid SyntaxWarning: invalid esc…
Browse files Browse the repository at this point in the history
…ape sequence '\s'
  • Loading branch information
davidblain-infrabel committed Apr 4, 2024
1 parent 649d643 commit 1618e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/amazon/aws/hooks/eks.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class NodegroupStates(Enum):
NONEXISTENT = "NONEXISTENT"


COMMAND = """
COMMAND = r"""
output=$({python_executable} -m airflow.providers.amazon.aws.utils.eks_get_token \
--cluster-name {eks_cluster_name} {args} 2>&1)
Expand Down

0 comments on commit 1618e51

Please sign in to comment.