Project-OMOTES / simulator-core

Core library for NWN simulator
GNU General Public License v3.0
1 stars 0 forks source link

Change to run with config file #104

Closed samvanderzwan closed 1 month ago

samvanderzwan commented 7 months ago

Instead of hard coded values in app.py, we should use a config file. Discussed on 18-04-2024 We decided to use toml since then we can add comment in. Look to pydantic for loading and saving. @lfse-slafleur will check for the libaries to use.

lfse-slafleur commented 7 months ago

An option that I have good experience with is: https://github.com/ProtixIT/dataclass-binder @MichielTukker @samvanderzwan

MichielTukker commented 1 month ago

Config parameters are passed via SimulationConfiguration object