We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aeaeb28 + ef974e4 commit 2a84832Copy full SHA for 2a84832
api/models/workflow.py
@@ -368,7 +368,7 @@ def environment_variables(self) -> Sequence[StringVariable | IntegerVariable | F
368
if not tenant_id:
369
return []
370
371
- environment_variables_dict: dict[str, Any] = json.loads(self._environment_variables)
+ environment_variables_dict: dict[str, Any] = json.loads(self._environment_variables or "{}")
372
results = [
373
variable_factory.build_environment_variable_from_mapping(v) for v in environment_variables_dict.values()
374
]
0 commit comments