Ë ™Ú�5¶eLÈãóì—dZddlmZddlmZddlmZddlmZddlmZddlm Z ddlm Z dd lm Z dd lm Z dd lm Z e e eee efZe d «ZGd „de«ZeGd„de e««ZeZy)z" Hook wrapper "result" utilities. é)Ú annotations)Ú TracebackType)ÚCallable)Úcast)Úfinal)ÚGeneric)ÚOptional)ÚTuple)ÚType)ÚTypeVarÚ ResultTypecó—eZdZdZy)Ú HookCallErrorzHook was called incorrectly.N)Ú__name__Ú __module__Ú __qualname__Ú__doc__©óú3/usr/lib/python3.12/site-packages/pluggy/_result.pyrrs„Ú&rrcóv—eZdZdZdZ d d„Zed d„«Zed d„«Ze dd„«Z dd„Z dd„Z dd „Z y )ÚResultzYAn object used to inspect and set the result in a :ref:`hook wrapper `.©Ú_resultÚ _exceptioncó —||_||_y©ú:meta private:Nr)ÚselfÚresultÚ exceptions rÚ__init__zResult.__init__ s€ð ˆŒ Ø#ˆ�rcóP—|j}|€yt|«||jfSr)rÚtypeÚ __traceback__)rÚexcs rÚexcinfozResult.excinfo)s,€ð�o‰oˆØ ˆ;Øä˜“I˜s C×$5Ñ$5Ð6Ð 6rcó—|jS)r)r)rs rr!zResult.exception2s€ð�‰Ðrcó`—d}dx}} |«}|||«S#t$r }|}Yd}~Œd}~wwxYw)rTN)Ú BaseException)ÚclsÚfuncÚ__tracebackhide__r r!r&s rÚ from_callzResult.from_call7sF€ð!ÐØ!Ð!ˆ�ð Ù“VˆFñ�6˜9Ó%Ð%øôò Ø�Iûð úsˆ˜ -¡(¨-có —||_d|_y)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)rr s rÚ force_resultzResult.force_resultBs€ðˆŒ ؈�rcó —d|_||_y)z�Force the result to fail with ``exception``. This overrides any previous result or exception. .. versionadded:: 1.1.0 Nr)rr!s rÚforce_exceptionzResult.force_exceptionNs€ðˆŒ Ø#ˆ�rcóŒ—d}|j}|€tt|j«S|j |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)rrr rÚwith_tracebackr%)rr-r&s rÚ get_resultzResult.get_resultXs@€ð !ÐØ�o‰oˆØ ˆ;Üœ  D§L¡LÓ1Ð 1à×$Ñ$ S×%6Ñ%6Ó7Ð 7rN)r zResultType | Noner!úBaseException | NoneÚreturnÚNone)r7z_ExcInfo | None)r7r6)r,zCallable[[], ResultType]r7zResult[ResultType])r r r7r8)r!r*r7r8)r7r )rrrrÚ __slots__r"Úpropertyr'r!Ú classmethodr.r0r2r5rrrrrsz„ñð*€Ið$à!ð$ð(ð$ð ó $ðò7óð7ðòóððò&óð&ó ó$ô 8rrN)rÚ __future__rÚtypesrÚtypingrrrrr r r r r*Ú_ExcInfor Ú ExceptionrrÚ_ResultrrrÚrBsˆðñõ#åÝÝÝÝÝÝÝÝð ��mÑ$ m°X¸mÑ5LÐLÑ M€Ù �\Ó "€ ô'�Iô'ðôI8ˆW�ZÑ óI8óðI8ðZ �r