cdgriffith / cdgriffith/Box

Feature request: add additional values from file

Open
#224 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
2.8k
Forks
135
PR merge metrics
No merged PRs in 30d

Description

Hi,
I'm really happy that I found your excellent package, it makes my life a lot easier. One thing I may miss is the possibility to load extra attributes from a file into an existing instance.

Example:
I load a main configuration file and want to add additional configuration values from a plugin configuration file into the same Box instance. I created a much smaller solution myself, where I added a function `add_from_file` and instead of creating of a new instance I simply updated the existing one with the values coming from the second file.

This may be easier than creating two independent instances and then updating the first one with the values from the second one.
What do you think?

Regards, Thomas

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.