ConfigSet
from arbitrary iterable & subscriptable ConfigSet
#229
Labels
enhancement (not new)
improving existing functionality
Moving discussion from PR #222 here. (link to the thread)
First, have an
__gettitem__
methodSecond, make it so
ConfigSet
can be constructed from an arbitrary iterable.This came from wanting a (slightly) simpler interface, where ConfigSet behaves more like a list:
Currently that can be done by converting to list and back
Not sure if this simpler interface is worth the changes, but being able to create
ConfigSet
s from arbitrary iterable/generator might be useful?The text was updated successfully, but these errors were encountered: