Skip to content

Commit

Permalink
[dagster-helm] 3.11 str enum compat (#19113)
Browse files Browse the repository at this point in the history
in 3.11 these f strings change for the enum
python/cpython#100458

so just do `.value`

## How I Tested These Changes

bk passes
  • Loading branch information
alangenfeld authored Jan 9, 2024
1 parent 5583cec commit c98cae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm/dagster/schema/schema/charts/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def schema_extra(schema, model):
value["anyOf"].append({"type": "null"})


def create_definition_ref(definition: str, version: str = SupportedKubernetes.V1_18) -> str:
def create_definition_ref(definition: str, version: str = SupportedKubernetes.V1_18.value) -> str:
return (
f"https://kubernetesjsonschema.dev/v{version}/_definitions.json#/definitions/{definition}"
)
Expand Down

0 comments on commit c98cae5

Please sign in to comment.