bg7ddlmZddlmZmZmZddlmZeeeegdfZ GddZ d dedeed e fd Z Gd d Z e e Ze e jZdS))setitem)AnyCallableOptional) not_thereNc,eZdZdedededefdZdZdS)Resolved containersetternamefoundc>||_||_||_||_dSN)r r r r )selfr r r r s e/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/testfixtures/resolve.py__init__zResolved.__init__ s"'$   cd|jdS)Nz )r )rs r__repr__zResolved.__repr__s*TZ****rN)__name__ __module__ __qualname__rSetterstrrrrrr r sS # v S     +++++rr dotted_namer returnc||d}|d}|t|}|}n|r Jdd}|}d}d}|D]}|}|d|zz } t||}t}%#t $r t|t||}t}nz#t $rmt} ||}nY#t$r t}YnFt$r: t|}||}n#t$rt}t}YnwxYwYnwxYwYnwxYwYwxYwt||||S)N.rz6Absolute traversal not allowed when container supplied)splitpop __import__getattrsetattrAttributeError ImportErrorrKeyErrorr TypeErrorint ValueErrorr )rr namesusedr r r s rresolver/s   c " "E 99Q<CD#D D# D $C<3 D <D D D D D#D D# D)"D##D)(D)c:eZdZedZedZdS) _ReferencecdSrrclss r classmethodz_Reference.classmethodB rcdSrrr3s r staticmethodz_Reference.staticmethodFr6rN)rrrr5r8rrrr1r1@sH  [   \   rr1r)operatorrtypingrrr testfixturesrrrr r/r1type class_typer5classmethod_typerrrr?s **********"""""" 3S/4' ( + + + + + + + +&4&4&4#&4(&4&4&4&4R        T*   4 .//r