XBFj>dZddlmZddlmZGddeZdS)zJYet another implementation of bunch attribute-access of items on a dict. ) annotations)Anyc4eZdZdZd dZd d Zdfd ZxZS)BunchzA dict with attribute-accesskeystrreturnrcr ||S#t$r}t||d}~wwxYwN) __getitem__KeyErrorAttributeError)selfres CC:\PYTHON\_runtimes\venv\Lib\site-packages\traitlets/utils/bunch.py __getattr__zBunch.__getattr__sJ -##C(( ( - - - %%1 , -s 616valueNonec2|||dSr ) __setitem__)rrrs r __setattr__zBunch.__setattr__s e$$$$$ list[str]cg}|t|||Sr )extendsuper__dir__keys)rnames __class__s rrz Bunch.__dir__sG UWW__&&''' TYY[[!!! r)rrr r)rrrrr r)r r)__name__ __module__ __qualname____doc__rrr __classcell__)r s@rrr sk&&---- %%%%rrN)r$ __future__rtypingrdictrrrr*si#"""""Dr