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
Currently, we read the config file into a raw dictionary. This leads to needing to explicitly extract fields by subscripting, in order to be ergonomic. Example: user = config["user"]. This isn't very nice, instead we should create fields on the Config class. This may involve restructuring the current pattern a bit, as the Config class today is mainly a namespace for setup and retrieval of the config file. The get_configuration method should probably be removed, in favor of just accessing the (new) fields directly, for instance.
The text was updated successfully, but these errors were encountered:
Currently, we read the config file into a raw dictionary. This leads to needing to explicitly extract fields by subscripting, in order to be ergonomic. Example:
user = config["user"]
. This isn't very nice, instead we should create fields on theConfig
class. This may involve restructuring the current pattern a bit, as the Config class today is mainly a namespace for setup and retrieval of the config file. Theget_configuration
method should probably be removed, in favor of just accessing the (new) fields directly, for instance.The text was updated successfully, but these errors were encountered: