K i6dZddlmZddlmZGddeZy)zJYet another implementation of bunch attribute-access of items on a dict. ) annotations)Anyc(eZdZdZddZddZddZy) BunchzA dict with attribute-accessc` |j|S#t$r}t||d}~wwxYwN) __getitem__KeyErrorAttributeError)selfkeyes [/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/traitlets/utils/bunch.py __getattr__zBunch.__getattr__s5 -##C( ( - %1 , -s - (-c(|j||yr) __setitem__)r r values r __setattr__zBunch.__setattr__s e$cZti}|j|j|Sr)dirextendkeys)r namess r__dir__z Bunch.__dir__s"B TYY[! rN)r strreturnr)r rrrrNone)rz list[str])__name__ __module__ __qualname____doc__rrrrrrr s&- %rrN)r" __future__rtypingrdictrr#rrr's#Dr