kalekundert / byoc

MIT License
0 stars 0 forks source link

Bind configs to specific objects #17

Closed kalekundert closed 3 years ago

kalekundert commented 3 years ago

Instead of:

config.load(obj)

The logic would go something like:

bound_config = deepcopy(config)
bound_config.bind(obj)
bound_config.load()

The advantage of this change are: