In ConfigData class, the @dataclasses.dataclass is used, but not in the proper way. It should be without init and just like this:
The ConfigReaded should read the config file, and fill ConfigData with the values. Then if ConfigReader is called, it should just return a filled ConfigData. Like:
In ConfigData class, the @dataclasses.dataclass is used, but not in the proper way. It should be without init and just like this:
The ConfigReaded should read the config file, and fill ConfigData with the values. Then if ConfigReader is called, it should just return a filled ConfigData. Like: