Skip to content

Commit

Permalink
sentinel autodetect converted to string enum for airflow compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaberdaku committed Jan 26, 2024
1 parent 32474c4 commit 23b380f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/providers/pysparkonk8s/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SparkDeployMode(Enum):

class Sentinel(Enum):
"""Nomen est omen"""
AUTODETECT = object()
AUTODETECT = "__AUTODETECT__"


DEFAULT_KUBERNETES_API_URL = "k8s://https://kubernetes.default.svc.cluster.local:443"
Expand Down

0 comments on commit 23b380f

Please sign in to comment.