Skip to content

Commit 3b630f2

Browse files
committed
Update varaible name replace.
1 parent 96e1ecb commit 3b630f2

File tree

1 file changed

+1
-1
lines changed
  • stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/models

1 file changed

+1
-1
lines changed

stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/models/patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def validate_model(cls, data: Any):
118118

119119
data[
120120
"variable_name"
121-
] = f"{data['nest'].replace('.','_').replace(':','_')}_{str(data['key']).replace(':','_')}"
121+
] = f"{data['nest'].replace('/','_').replace(':','_')}_{str(data['key']).replace(':','_')}"
122122
data["param_key"] = data["path"].translate(replacements)
123123

124124
return data

0 commit comments

Comments
 (0)