fix: variable pool mapping variable mixed up (#3378)
This commit is contained in:
parent
0dada847ef
commit
164ef26a60
1 changed files with 1 additions and 3 deletions
|
|
@ -22,9 +22,6 @@ class ValueType(Enum):
|
||||||
|
|
||||||
|
|
||||||
class VariablePool:
|
class VariablePool:
|
||||||
variables_mapping = {}
|
|
||||||
user_inputs: dict
|
|
||||||
system_variables: dict[SystemVariable, Any]
|
|
||||||
|
|
||||||
def __init__(self, system_variables: dict[SystemVariable, Any],
|
def __init__(self, system_variables: dict[SystemVariable, Any],
|
||||||
user_inputs: dict) -> None:
|
user_inputs: dict) -> None:
|
||||||
|
|
@ -34,6 +31,7 @@ class VariablePool:
|
||||||
# 'query': 'abc',
|
# 'query': 'abc',
|
||||||
# 'files': []
|
# 'files': []
|
||||||
# }
|
# }
|
||||||
|
self.variables_mapping = {}
|
||||||
self.user_inputs = user_inputs
|
self.user_inputs = user_inputs
|
||||||
self.system_variables = system_variables
|
self.system_variables = system_variables
|
||||||
for system_variable, value in system_variables.items():
|
for system_variable, value in system_variables.items():
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue