§ x<ˆjC ãó.—dZddlmZddlmZddlmZddlmZddlmZddlm Z ddlm Z dd lm Z dd lm Z dd lm Z dd lmZe rdd lmZe e eee efZed¦«Zdd„ZGd„de¦«ZGd„de e¦«ZdS)z" Hook wrapper "result" utilities. é)Ú annotations)Ú TracebackType)ÚCallable)Úcast)Ú Generator)ÚGeneric)ÚOptional)ÚTuple)ÚType)Ú TYPE_CHECKING)ÚTypeVar)ÚNoReturnÚ_TÚwrap_controllerúDGenerator[None, _Result[_T], None] | Generator[None, object, object]ÚmsgÚstrÚreturnrcóZ—|j}td|j|j|j|fz¦«‚)Nzwrap_controller at %r %s:%d %s)Úgi_codeÚ RuntimeErrorÚco_nameÚ co_filenameÚco_firstlineno)rrÚcos ú`/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/pluggy/_result.pyÚ_raise_wrapfailrs9€ð Ô €BÝ Ø(Ø Œ:�r”~ rÔ'8¸#Ð >ñ ?ñ ô ðócó—eZdZdZdS)Ú HookCallErrorzHook was called incorrectly.N)Ú__name__Ú __module__Ú __qualname__Ú__doc__©rrr r &s€€€€€Ø&Ð&Ð&Ð&rr cóz—eZdZdZdd„Zedd „¦«Zedd „¦«Zedd„¦«Z dd„Z dd„Z dd„Z dS)Ú_Result©Ú_resultÚ _exceptionÚresultú _T | NoneÚ exceptionúBaseException | NonerÚNonecó"—||_||_dS©Nr()Úselfr+r-s rÚ__init__z_Result.__init__-s€ð ˆŒ Ø#ˆŒˆˆrú_ExcInfo | NonecóF—|j}|€dSt|¦«||jfSr1)r*ÚtypeÚ __traceback__)r2Úexcs rÚexcinfoz_Result.excinfo5s)€àŒoˆØ ˆ;Ø�4嘑I”I˜s CÔ$5Ð6Ð 6rcó—|jSr1)r*)r2s rr-z_Result.exception=s €àŒÐrÚfuncúCallable[[], _T]ú _Result[_T]cóp—d}dx}} |¦«}n#t$r }|}Yd}~nd}~wwxYw|||¦«S)NT)Ú BaseException)Úclsr;Ú__tracebackhide__r+r-r8s rÚ from_callz_Result.from_callAsd€à ÐØ!Ð!ˆ�ð Ø�T‘V”VˆFˆFøÝð ð ð ØˆIˆIˆIˆIˆIˆIøøøøð øøøàˆs�6˜9Ñ%Ô%Ð%sˆ “ )�$¤)rcó"—||_d|_dS)a,Force the result(s) to ``result``. If the hook was marked as a ``firstresult`` a single value should be set, otherwise set a (modified) list of results. Any exceptions found during invocation will be deleted. This overrides any previous result or exception. Nr()r2r+s rÚ force_resultz_Result.force_resultKs€ðˆŒ ؈Œˆˆrr?có"—d|_||_dS)z�Force the result to fail with ``exception``. This overrides any previous result or exception. .. versionadded:: 1.1.0 Nr()r2r-s rÚforce_exceptionz_Result.force_exceptionWs€ðˆŒ Ø#ˆŒˆˆrcó€—d}|j}|€tt|j¦«S| |j¦«‚)z®Get the result(s) for this hook call. If the hook was marked as a ``firstresult`` only a single value will be returned, otherwise a list of results. T)r*rrr)Úwith_tracebackr7)r2rAr8s rÚ get_resultz_Result.get_resultas?€ð !ÐØŒoˆØ ˆ;Ý�˜DœLÑ)Ô)Ð )à×$Ò$ SÔ%6Ñ7Ô7Ð 7rN)r+r,r-r.rr/)rr4)rr.)r;r<rr=)r+rrr/)r-r?rr/)rr) r!r"r#Ú __slots__r3Úpropertyr9r-Ú classmethodrBrDrFrIr%rrr'r'*sÉ€€€€€Ø)€Ið$ð$ð$ð$ðð7ð7ð7ñ„Xð7ððððñ„Xððð&ð&ð&ñ„[ð&ð ð ð ð ð$ð$ð$ð$ð 8ð 8ð 8ð 8ð 8ð 8rr'N)rrrrrr)r$Ú __future__rÚtypesrÚtypingrrrrr r r r r rr?Ú_ExcInforrÚ Exceptionr r'r%rrúrRs›ðððð#Ð"Ð"Ð"Ð"Ð"àÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐØ Ð Ð Ð Ð Ð ØÐÐÐÐÐàð ØÐÐÐÐÐð ��mÔ$ m°X¸mÔ5LÐLÔ M€Ø €WˆT�]„]€ð ð ð ð ð'ð'ð'ð'ð'�Iñ'ô'ð'ðB8ðB8ðB8ðB8ðB8ˆg�bŒkñB8ôB8ðB8ðB8ðB8r