Cant use lambda as python planning entity attribute #1283
Labels
bug
Something isn't working
process/needs triage
Requires initial assessment of validity, priority etc.
Describe the bug
When instantiating a planning entity with a lambda as an attribute, an error will be thrown at runtime
Expected behavior
It should work equivalently to passing a function defined with
def
Actual behavior
To Reproduce
Environment
Timefold Solver Version or Git ref:
1.17.0
Output of
java -version
:Output of
uname -a
orver
:The text was updated successfully, but these errors were encountered: