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
Describe the bug
My model .__init__() takes in **kwargs to allow additional optional model configuration. This worked fine with solara viz until #2454 added a check that all parameters are being passed in. Error:
File "...\Lib\site-packages\mesa\visualization\solara_viz.py", line 342, in _check_model_params
raise ValueError(f"Missing required model parameter: {name}")
ValueError: Missing required model parameter: kwargs
Expected behavior
It should ignore the kwargs special parameter.
To Reproduce
Use **kwargs in your model .__init__ will do the trick :)
The text was updated successfully, but these errors were encountered:
Describe the bug
My
model .__init__()
takes in**kwargs
to allow additional optional model configuration. This worked fine with solara viz until #2454 added a check that all parameters are being passed in. Error:Expected behavior
It should ignore the kwargs special parameter.
To Reproduce
Use
**kwargs
in yourmodel .__init__
will do the trick :)The text was updated successfully, but these errors were encountered: