humlab / penelope

Pipleline for generating data used in text analytics notebooks. Used by Welfare State Analytics, INIDUN and several other research projects.
5 stars 1 forks source link

Refactor Config class constructor and methods #199

Closed roger-mahler closed 7 months ago

roger-mahler commented 7 months ago

This pull request refactors the constructor and methods of the Config class. It updates the constructor to accept keyword arguments and adds type hints for the data, context, and filename variables. Additionally, it updates the get and exists methods to use the data attribute instead of the Config instance itself. This improves the readability and maintainability of the codebase.