mercredi 18 août 2021

Python Multiple Inheritance & configuration files

I've been looking through design patterns and trying to figure out how to solve this problem:

class dependency diagram

I have an application that is composed of multiple classes and each class inherits at least one other class. Each class in each layer has a required configuration file. This is proving to be challenging. I can manage to pass the configuration files to the objects I am instantiating from classes within the "Application." But passing configuration files to subsequent objects is proving to be difficult.

I would appreciate some feedback on how I should approach this problem and on design patterns.

Aucun commentaire:

Enregistrer un commentaire