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
Expected behavior
The documentation should tell users how to properly use the mesa.model class. The examples should include super().init() when subclassing mesa.model
To Reproduce
Not applicable.
Additional context
None.
The text was updated successfully, but these errors were encountered:
Describe the bug
The tutorials (e.g. https://mesa.readthedocs.io/en/stable/tutorials/intro_tutorial.html) instruct users to subclass mesa.model. However they do not say to include super().init(). In https://github.com/projectmesa/mesa/blob/main/mesa/model.py#L62-L77 it states you should "Always start with super().init() to initialize the model object properly."
Expected behavior
The documentation should tell users how to properly use the mesa.model class. The examples should include super().init() when subclassing mesa.model
To Reproduce
Not applicable.
Additional context
None.
The text was updated successfully, but these errors were encountered: