WIP: Expand the developer documentation #27
2 changed files with 1 additions and 2 deletions
|
|
@ -290,7 +290,6 @@ types:
|
||||||
functions_files:
|
functions_files:
|
||||||
description: {_("File with functions")}
|
description: {_("File with functions")}
|
||||||
help: {_("This file contains filters and additional Jinja2 functions usable in structure files")}
|
help: {_("This file contains filters and additional Jinja2 functions usable in structure files")}
|
||||||
alternative_name: c
|
|
||||||
type: unix_filename
|
type: unix_filename
|
||||||
params:
|
params:
|
||||||
allow_relative: true
|
allow_relative: true
|
||||||
|
|
|
||||||
|
|
@ -496,7 +496,7 @@ class UserData:
|
||||||
# it's a function
|
# it's a function
|
||||||
params = tuple([ParamValue(val) for val in value[1:]])
|
params = tuple([ParamValue(val) for val in value[1:]])
|
||||||
value = Calculation(value[0], Params(params, kwargs={"option": ParamValue(option)}))
|
value = Calculation(value[0], Params(params, kwargs={"option": ParamValue(option)}))
|
||||||
option.forcepermissive()
|
option = option.forcepermissive
|
||||||
add_validation = True
|
add_validation = True
|
||||||
else:
|
else:
|
||||||
add_validation = False
|
add_validation = False
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue