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
another idea which came into my mind is to provide just one function for loading data into an instance. Currently there are a number of class methods for creating a new instance with a type of file, i.e. from_json, from_yaml, etc.
This could be simplified with one function and parse the file according the extension or an optional keyword parameter:
Just an idea, I had a similar implementation in my own config parser, but not as sophisticated like your package python-box. It's really, really great, thanks for the efforts.
Regards, Thomas
The text was updated successfully, but these errors were encountered:
Hi,
another idea which came into my mind is to provide just one function for loading data into an instance. Currently there are a number of class methods for creating a new instance with a type of file, i.e.
from_json
,from_yaml
, etc.This could be simplified with one function and parse the file according the extension or an optional keyword parameter:
Just an idea, I had a similar implementation in my own config parser, but not as sophisticated like your package
python-box
. It's really, really great, thanks for the efforts.Regards, Thomas
The text was updated successfully, but these errors were encountered: