You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
task1 = Task(id=1, duration=3, priority=2, resources=[[resource]])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/korny/micromamba/envs/tofutime/lib/python3.11/site-packages/pydantic/main.py", line 171, in __init__
self.__pydantic_validator__.validate_python(data, self_instance=self)
pydantic_core._pydantic_core.ValidationError: 1 validation error for Task
Value error, Either assignments or constraints must be set [type=value_error, input_value={'id': 1, 'duration': 3, ...iciency_multiplier=1)]]}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.6/v/value_error
``
The text was updated successfully, but these errors were encountered:
p311
EDIT:
concerns the example at https://factryflow.github.io/factryengine/#documentation
The text was updated successfully, but these errors were encountered: