add todict to calc_value
This commit is contained in:
@ -32,7 +32,7 @@ from .annotator import CONVERT_OPTION
|
||||
from .objspace import RootRougailObject
|
||||
|
||||
|
||||
FUNC_TO_DICT = []
|
||||
FUNC_TO_DICT = ['calc_value']
|
||||
|
||||
|
||||
class Root(): # pylint: disable=R0903
|
||||
@ -220,7 +220,7 @@ class Common:
|
||||
f"'expected': ParamValue('{child.expected}')")
|
||||
if child.inverse:
|
||||
kwargs += ", 'reverse_condition': ParamValue(True)"
|
||||
return f"Calculation(calc_value, Params(ParamValue('{child.name}'), kwargs={{{kwargs}}}))"
|
||||
return f"Calculation(func.calc_value, Params(ParamValue('{child.name}'), kwargs={{{kwargs}}}))"
|
||||
|
||||
def populate_informations(self):
|
||||
"""Populate Tiramisu's informations
|
||||
|
Reference in New Issue
Block a user