Skip to content
Snippets Groups Projects
Commit 70e1f7d9 authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Merge branch 'feat/calcat-parameter-name' into 'master'

Look up CCVs using parameter_name in place of parameter_id

See merge request !857
parents 2b580622 a02022b1
No related branches found
No related tags found
1 merge request!857Look up CCVs using parameter_name in place of parameter_id
...@@ -122,7 +122,7 @@ class CalCatApi(metaclass=ClientWrapper): ...@@ -122,7 +122,7 @@ class CalCatApi(metaclass=ClientWrapper):
return { return {
"parameters_conditions_attributes": [ "parameters_conditions_attributes": [
{"parameter_id": self.parameter_id(k), "value": str(v)} {"parameter_name": k, "value": str(v)}
for k, v in condition.items() for k, v in condition.items()
] ]
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment