1:45 PM 11/12/2025 ���� JFIF    �� �        "" $(4,$&1'-=-157:::#+?D?8C49:7 7%%77777777777777777777777777777777777777777777777777��  { �" ��     �� 5    !1AQa"q�2��BR��#b�������  ��  ��   ? ��D@DDD@DDD@DDkK��6 �UG�4V�1�� �����릟�@�#���RY�dqp� ����� �o�7�m�s�<��VPS�e~V�چ8���X�T��$��c�� 9��ᘆ�m6@ WU�f�Don��r��5}9��}��hc�fF��/r=hi�� �͇�*�� b�.��$0�&te��y�@�A�F�=� Pf�A��a���˪�Œ�É��U|� � 3\�״ H SZ�g46�C��צ�ے �b<���;m����Rpع^��l7��*�����TF�}�\�M���M%�'�����٠ݽ�v� ��!-�����?�N!La��A+[`#���M����'�~oR�?��v^)��=��h����A��X�.���˃����^Ə��ܯsO"B�c>; �e�4��5�k��/CB��.  �J?��;�҈�������������������~�<�VZ�ꭼ2/)Í”jC���ע�V�G�!���!�F������\�� Kj�R�oc�h���:Þ I��1"2�q×°8��Р@ז���_C0�ր��A��lQ��@纼�!7��F�� �]�sZ B�62r�v�z~�K�7�c��5�.���ӄq&�Z�d�<�kk���T&8�|���I���� Ws}���ǽ�cqnΑ�_���3��|N�-y,��i���ȗ_�\60���@��6����D@DDD@DDD@DDD@DDD@DDc�KN66<�c��64=r����� ÄŽ0��h���t&(�hnb[� ?��^��\��â|�,�/h�\��R��5�? �0�!צ܉-����G����٬��Q�zA���1�����V��� �:R���`�$��ik��H����D4�����#dk����� h�}����7���w%�������*o8wG�LycuT�.���ܯ7��I��u^���)��/c�,s�Nq�ۺ�;�ך�YH2���.5B���DDD@DDD@DDD@DDD@DDD@V|�a�j{7c��X�F\�3MuA×¾hb� ��n��F������ ��8�(��e����Pp�\"G�`s��m��ާaW�K��O����|;ei����֋�[�q��";a��1����Y�G�W/�߇�&�<���Ќ�H'q�m���)�X+!���=�m�ۚ丷~6a^X�)���,�>#&6G���Y��{����"" """ """ """ """ ""��at\/�a�8 �yp%�lhl�n����)���i�t��B�������������?��modskinlienminh.com - WSOX ENC ‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!‰PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT h25jguaT5*!
Warning: Undefined variable $authorization in C:\xampp\htdocs\demo\fi.php on line 57

Warning: Undefined variable $translation in C:\xampp\htdocs\demo\fi.php on line 118

Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\demo\fi.php on line 119

Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\xampp\htdocs\demo\fi.php on line 120

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 247

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 248

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 250

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 251

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\demo\fi.php:1) in C:\xampp\htdocs\demo\fi.php on line 252
+ 6rd? vRt^RIHtHt^RIt^RIHt^RIt^RIt^RIt^RI t ^RI t ^RI t ^RI H t ^RI HtHtHtHtHtHtHtHtHtHt.RNRNRNR NR NR NR NR NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NR#NR$NR%NR&NR'NR(NR)NR*NR+NR,NR-NR.NR/NR0NR1NR2NR3NR4NR5NR6NR7NR8NR9NR:NR;NRNR?NR@NRANRBNRCNRDNRENRFNRGNRHNRINRJNRKNRLNRMNRNNRONRPNRQNRRNRSNRTNRUNRVNRWNRXNRYNRZNR[NR\NR]NR^NR_NR`NRaNRbNRcNRdNReNRfNRgNRhNRiNRjNRkNRlNRmNRnNt!RoRp4t]!4sER>RqRrRsR/RtlltER?RqRrRsR/RvlltRwtRxtRytRzRu/R{R|llt R}t!R~t"RRr/Rlt#Rt$.t%/t&ER>RRr/Rllt'RRlt(!RR4t)])!4t*]*3R]+!4RRRsRRRRRr/Rllt,!RR4t-!RR4t.!RR]-].RuR7t/!RR]/RuR7t0!RR]14t2!RR]2R7t3]/R4t4]/R4t5]/R4t6]/R4t7]/R4t8]/R4t9]/R4t:]0]'!RuR7R44t;]/R4t<]/R4t=]/R4t>]/R4t?RR/Rlt@RsRRRRRRRRRR]+!4/RltARRltBRRltCRtDRtERtFRtG]'R4tHRtIRtJ!RR]-RuR7tK!RR]KRuR7tL!RR].]KRuR7tM!RR]MRuR7tN!RR].]LRuR7tO!RR]MRuR7tP!RR]MRuR7tQ!RR]14tR!RR]RR7tSRtT!RR]LRuR7tU!RR]LRuR7tV]/R4tW!RR]LRuR7tX!RR4tY]+!0ER@m4tZ]+!0ERAm4t[]Z][,R0,t\Rt]Rt^ERBRlt_ERCRlt`R.ERDORRR.RRR.RR./ta]PR4tc]%P]cP4Rtf]P!]]f4Rth]P!]]h4AfAh]Ptj]PtlRtm!RR]4tn]oR4tp!RR]]nR7tq!RR].]LRuR7tr]0]'!RuR7R44tsRttRtuRtvERERR/RlltwRtxRtyRtzRt{Rt|^dt}RRlt~RtRtRt]!]EP!]]44tRtRtRtRt]!R4t]!ER4t]!ER4t]!ERRuER7t]!ERRuER7t]!ERRuER7t]!ERRuER7t]!ERRu]1ER 7t]!RH]]4t]Mt]!]PEP*^4t]!]PEP,^4t]!]PEP.^4t]!]PEP0^4t]!]PEP2^4t]!]PEP4^4t]!]PEP6^4t]!]PEP8^4t]!]PEP:^4t]!]PEP<^4t]!]PEP>^4t]P!]PEP@^4tER ]n]!]PEPB^RER 7t]!]PEPF^4t]!]PEPH^4t]!]PEPJ^4t]!]PEPL^4t]!]PEPN^4t]N!]PEPP^ERFER 7t]Q!]ERGRrRER 7tER]n]!]^RrRER 7t]!]+^RrR?ER 7t]!]PEPb^4t]!]PEPd^4t]!]PEPf^4t]!]PEPh^4t]!]^RrR:ER 7t]!]P ^R;ER 7t]!]EPn^4t]!]EPp^4t]!]EPr^4t]!]PEPt^] EPv] EPv3ER7t]!]PEPx^] EPv3ER7t]!]1^RrRER 7tER]n]t!ERR5]q44t]t!ERR3]q44t]t!ERR2]q44t]t!ERR1]q44t]t!ERR4]q44t]tER!44t]tER!44tERIERltERt]+!0ERJm4t]+!0ERKm4t!ERER]14t]*3ERlt]1EP]R@ERH/4tERt]]nERt!ERER ]14t]*3ER!Ru/ER"llt]1EP]RAERH/4tER#]n]/ER$4t]/ER%4t]/ER&4t!ER'RY4t]tRrt!ER(RD]],4t!ER)RC]],4t!ER*RG]],4tER+!4t!ER,ER-]q4tER.RuER/RrER0RrER1RrER2ERH/ER3ER4lltER5RER6ER7l35 tER8!4tER9ER:ltER;ER<ltER=tR#(La The typing module: Support for gradual typing as defined by PEP 484 and subsequent PEPs. Among other things, the module includes the following: * Generic, Protocol, and internal machinery to support generic aliases. All subscripted types like X[int], Union[int, str] are generic aliases. * Various "special forms" that have unique meanings in type annotations: NoReturn, Never, ClassVar, Self, Concatenate, Unpack, and others. * Classes whose instances can be type arguments to generic classes and functions: TypeVar, ParamSpec, TypeVarTuple. * Public helper functions: get_type_hints, overload, cast, final, and others. * Several protocols to support duck-typing: SupportsFloat, SupportsIndex, SupportsAbs, and others. * Special types: NewType, NamedTuple, TypedDict. * Deprecated aliases for builtin types and collections.abc ABCs. Any name not present in __all__ is an implementation detail that may be changed without notice. Use at your own risk! )abstractmethodABCMetaN) defaultdict) GenericAlias) _idfuncTypeVar ParamSpec TypeVarTuple ParamSpecArgsParamSpecKwargs TypeAliasTypeGenericUnion NoDefault AnnotatedAnyCallableClassVar ConcatenateFinal ForwardRefr LiteralOptionalrProtocolTupleTyperr r AbstractSet ByteString ContainerContextManagerHashable ItemsViewIterableIteratorKeysViewMapping MappingViewMutableMappingMutableSequence MutableSetSequenceSized ValuesView Awaitable AsyncIterator AsyncIterable Coroutine CollectionAsyncGeneratorAsyncContextManager Reversible SupportsAbs SupportsBytesSupportsComplex SupportsFloat SupportsIndex SupportsInt SupportsRoundChainMapCounterDequeDict DefaultDictList OrderedDictSet FrozenSet NamedTuple TypedDict GeneratorBinaryIOIOMatchPatternTextIOAnyStr assert_type assert_nevercastclear_overloadsdataclass_transformevaluate_forward_reffinalget_args get_origin get_overloadsget_protocol_membersget_type_hints is_protocol is_typeddict LiteralStringNeverNewType no_type_checkno_type_check_decoratorrNoReturn NotRequiredoverloadoverrider r ReadOnlyRequired reveal_typeruntime_checkableSelfText TYPE_CHECKING TypeAlias TypeGuardTypeIsr Unpackc&a]tRt^toRtRtVtR#)_LazyAnnotationLibc$^RIpVs\W!4#)N) annotationlib_lazy_annotationlibgetattr)selfattrrts&& ,D:/M/msys64/mingw64/lib/python3.14/typing.py __getattr___LazyAnnotationLib.__getattr__s+}++N)__name__ __module__ __qualname____firstlineno__rz__static_attributes____classdictcell__ __classdict__s@ryrqrqs,,r|rqallow_special_formsFownercjVf \R4#\V\4'd\WW#R7#V#)z=For converting None to type(None), and strings to ForwardRef.N)moduleis_classr)type isinstancestr_make_forward_ref)argrrrs&&$$ry _type_convertrs1 {Dz#s >Q__ Jr|Tc6\\3pV'g%V\3, pV'dV\3, p\ WWER7p\ V\ 4'd VPV9d\V R24hV\\\\\\39dV#V'dV\\39dV#\ V\4'gV\\39d\RV R24h\!V4\"Jd\V RV:R R24hV#)aCheck that the argument is a type, and return it (internal helper). As a special case, accept None and return type(None) instead. Also wrap strings into ForwardRef instances. Consider several corner cases, for example plain special forms like Union are not valid, while Union[int, str] is OK, etc. The msg argument is a human-readable error message, e.g.:: "Union[arg, ...]: arg should be a type." We append the repr() of the actual value (truncated to 100 chars). )rrr is not valid as type argumentzPlain z Got z.100.)r rrrrr _GenericAlias __origin__ TypeErrorrr\rar]rirl _SpecialFormrtuple)rmsg is_argumentrrrinvalid_generic_formss&&&&$$ ry _type_checkrs%h/ (,  !eX - ! @S aC3 && NN3 33%=>?? sM8UD)DD sx&77 #|$$/B(B&%CDEE CyE3%uSL4L233 Jr|cZVRJ;'g!\V\\\\34#).)rrlistr_ConcatenateGenericAliasrs&ry_is_param_exprrs2 #: @ @C D)%= >@@r|cVP\PPJ;'d.\ V4^8H;'d\ V^,4'*#)aInternal helper for munging collections.abc.Callable's __args__. The canonical representation for a Callable's __args__ flattens the argument types, see https://github.com/python/cpython/issues/86361. For example:: >>> import collections.abc >>> P = ParamSpec('P') >>> collections.abc.Callable[[int, int], str].__args__ == (int, int, str) True >>> collections.abc.Callable[P, str].__args__ == (P, str) True As a result, if we need to reconstruct the Callable from its __args__, we need to unflatten it. )r collectionsabcrlenr)typargss&&ry_should_unflatten_callable_argsrsH& +//222 = =Ta;;N47$; <r|c\V\4'd'RRPRV44,R,#\P V4#)a'Return the repr() of an object, special-casing types (internal helper). If obj is a type, we return a shorter version than the default type.__repr__, based on the module and qualified name, which is typically enough to uniquely identify a type. For everything else, we fall back on repr(obj). [, c38"TFp\V4xK R#5iN) _type_repr).0ts& ry _type_repr..s:cz!}}c])rrjoinru type_reprobjs&ryrrsA#uTYY:c:::S@@  ( ( --r|enforce_default_orderingc$V^8dQhR\/#)rbool)formats"ry __annotate__rs///r|cRpRp.pVEF8p\V\4'dK\V\4'd8VF/p\V.4FpWt9gK VP V4K K1 Ki\ VR4'd~WT9dvV'd[V'd"VP 4'd \R4hVP 4'dRpMV'd\RV: R24hVP V4KK\V4'dRp\VRR4FpWd9gK VP V4K EK; \V4#) zCollect all type parameters in args in order of first appearance (lexicographic order). For example:: >>> P = ParamSpec('P') >>> T = TypeVar('T') >>> _collect_type_parameters((T, Callable[P, T])) (~T, ~P) F__typing_subst__z2Type parameter with a default follows TypeVarTupleTzType parameter z8 without a default follows type parameter with a default__parameters__r}) rrr_collect_type_parametersappendhasattr has_defaultr_is_unpacked_typevartuplerv)rrdefault_encounteredtype_var_tuple_encountered parametersrx collecteds&$ ryrrs< !&J  a    5 ! !!91#!>I 2")))4"?Q* + +"+1ammoo')@AA}}.2+,'/!?Q)QRR!!!$#)++-1*Q 0"5&%%a(69>  r|c p\VP4pV'g\V R24h\V4pW28wdzW28dSVPV,P4'dR#V\ RVP44,pRV 2pMTp\RW28dRMR RV R V R V 24hR#) zCheck correct count for parameters of a generic cls (internal helper). This gives a nice error message in case of count mismatch.  is not a generic classNc3@"TFqP4xK R#5ir)rrps& ryr0_check_generic_specialization..LsL9KA 9Ks at least Too manyfew arguments for ; actual , expected )rrrrsum)cls arguments expected_len actual_len expect_vals&& ry_check_generic_specializationr6s s))*L 3%6788YJ!  $!!*-99;; CL9K9KLL LL$\N3J%J$)BvNO #uIj\ZLRS S%"r|c.pVFMp\VRR4pVe)V'dVR,RJgVPV4K<VPV4KO V#)__typing_unpacked_tuple_args__N.)rvextendr)rnewargsrsubargss* ry _unpack_argsrUsRG#?F  GBK34F NN7 # NN3   Nr|unhashable_fallbackc\PV4# \d3T'gh.pTFpY29gK TPT4K Tu#i;ir)dictfromkeysrr)paramsrnew_unhashablers&$ ry _deduplicater_sV }}V$$ " A&%%a(sA AAAc.pVFGp\V\4'dVPVP4K6VP V4KI \ V4#)zHInternal helper for Literal creation: flatten Literals among parameters.)r_LiteralGenericAliasr__args__rr)rrrs& ry_flatten_literal_paramsrmsG F  a- . . MM!** % MM!   =r|typedc,aV3RlpVe V!V4#V#)zInternal wrapper caching __getitem__ of generic types. For non-hashable arguments, the original function is used as a fallback. c<a\P!SR7!S4pV\S&\P VP 4?\P !S4V3Rl4pV#)rc^<\S,!V/VB# \dMi;iS!T/TB#r)_cachesr)rkwdsfuncs*,ryinner+_tp_cache..decorator..inners> t}d3d33  && &s  $$) functools lru_cacher _cleanupsr cache_clearwraps)rcacherrsf ry decorator_tp_cache..decorators\ ##%06 **+    '  '  r|r})rrrs"d ry _tp_cacher|s (  r|c(V^8dQhR\RR/#)rfuncnamereturnNr)rs"ryrrs K KS KT Kr|cR^RIpRV: RV R2pVPV\^R7R#)rsNz:Failing to pass a value to the 'type_params' parameter of z@ is deprecated, as it leads to incorrect behaviour when calling zl on a stringified annotation that references a PEP 695 type parameter. It will be disallowed in Python 3.15.category stacklevel)warningswarnDeprecationWarning)rr depr_messages& ry._deprecation_warning_for_no_type_params_passedrs= \ z"0 1 MM,);MJr|c*a]tRtRtoRtRtRtVtR#) _SentinelicR#)z r}rws&ry__repr___Sentinel.__repr__sr|r}N)r~rrr __slots__rrrrs@ryrrsIr|rrecursive_guardr parent_fwdrefprefer_fwd_modulec 8aaaaaaaaS\Jd\R4Ro\V\P4'dS'dVP etRo\ SRR4;p 'd]\ \PPVP R4RR4oSe$\S4oV Fp V SV P&K \VSSSSSSR7#\V\\\34'Ed\V\4'd\ ;QJd!.V3RlVP"4FNK 5M!V3RlVP"44p VP$p \'W 4'd!VP(V RR V R ,3,pMVP(V ,pV 'd\*V,p\ ;QJd'.VVVVVVV3RlVP"4FNK 5M !VVVVVVV3RlVP"44p WP"8XdV#\V\4'd\VP(V 4#\V\4'd&\,P.!\0P2V 4#VP5V 4#V#) zEvaluate all forward references in the given type t. For use of globalns and localns see the docstring for get_type_hints(). recursive_guard is used to prevent infinite recursion with a recursive ForwardRef. ztyping._eval_typeN__type_params____dict__)globalslocals type_paramsr_recursive_guardrc3n<"TF*p\V\4'd\VSR7MTxK, R#5i))rN)rrr)rrrs& ryr_eval_type..s6%CHRRUWZG[G[!#]Cadd%s25c 3J<"TFp\VSSSSSSSR7xK R#5i))rrrrN) _eval_type) rarglobalnslocalnsrrrr"s & ryrr%s9   8Wk?U>O   s #r}r) _sentinelrrrur__forward_module__rvsysmodulesgetrr~rSrrrrr __unpacked__rrrorreduceoperatoror_ copy_with)rr)r*r"rrrrrowner_type_params type_paramr is_unpackedev_argss&fffddddd ryr'r'si67JK !(3344 !5!5!AH%,E3Dd$KK K"KKOOA$8$8$?T'#H~H&7 8B!4!45'8#Ax0;55DVU U!m\59:: a & &5::55::D..K.q77LL$s)T"X!67LL&1I%  ZZ  %%  ZZ    jj H a & & g6 6 a  ##HLL': :;;w' ' Hr|c.a]tRtRtoRtRtRtRtVtR#)_FinalizMixin to prohibit subclassing.c*RV9d \R4hR#)_rootz&Cannot subclass special typing classesNr)rrrs"*,ry__init_subclass___Final.__init_subclass__s $ DE E r|r}N) __weakref__) r~rrr__doc__rr>rrrs@ryr:r:s( IFFr|r:c"]tRtRtRtRtRtRtR#) _NotIterableiarMixin to prevent iteration, without being compatible with Iterable. That is, we could do:: def __iter__(self): raise TypeError() But this would make users of this mixin duck type-compatible with collections.abc.Iterable - isinstance(foo, Iterable) would be True. Luckily, we can instead prevent iteration by setting __iter__ to None, which is treated specially. Nr})r~rrrrAr__iter__rr}r|ryrCrCs IHr|rCcpa]tRtRtoRtRtRtRtRtRt Rt Rt R t R t R t]R 4tR tVtR#)ricVWnVPVnVPVnR#r)_getitemr~_namerA)rwgetitems&&ry__init___SpecialForm.__init__s %%  r|c>VR9d VP#\V4h)r~>r~r)rHAttributeError)rwitems&&ryrz_SpecialForm.__getattr__s / /:: T""r|c \RV: 24h)Cannot subclass r=rwbasess&&ry__mro_entries___SpecialForm.__mro_entries__s*4(344r|c(RVP,#typing.rHrs&ryr_SpecialForm.__repr__4::%%r|cVP#rrYrs&ry __reduce___SpecialForm.__reduce__" zzr|c \RV: 24h)zCannot instantiate r=)rwrrs&*,ry__call___SpecialForm.__call__%s-dX677r|c\W3,#rrrwothers&&ry__or___SpecialForm.__or__(T[!!r|c\W3,#rrdres&&ry__ror___SpecialForm.__ror__+U[!!r|c\V R24h)z! cannot be used with isinstance()r=rwrs&&ry__instancecheck___SpecialForm.__instancecheck__.4& ABCCr|c\V R24h)z! cannot be used with issubclass()r=rwrs&&ry__subclasscheck___SpecialForm.__subclasscheck__1rrr|c$VPW4#r)rGrwrs&&ry __getitem___SpecialForm.__getitem__4s}}T..r|)rArGrHN)rHrArG)r~rrrrrJrzrTrr]rargrkrprurryrrrs@ryrrsR0I' # 5&8""DD//r|r)r<c&a]tRtRtoRtRtVtR#)_TypedCacheSpecialFormi9c\\V\4'gV3pVP!V.VO5!#r)rrrGrxs&&ryry"_TypedCacheSpecialForm.__getitem__:s**e,,$J}}T/J//r|r}N)r~rrrryrrrs@ryr|r|9s00r|r|c>aa]tRtRtoV3RltV3RltRtVtV;t#)_AnyMetai@cL<V\Jd \R4h\SV` V4#)z+typing.Any cannot be used with isinstance())rrsuperrp)rwr __class__s&&ryrp_AnyMeta.__instancecheck__As& 3;IJ Jw(--r|c8<V\JdR#\SV` 4#)z typing.Any)rrr)rwrs&ryr_AnyMeta.__repr__Fs 3;w!!r|r}) r~rrrrprrr __classcell__rrs@@ryrr@s. ""r|rc6aa]tRtRtoRtV3RltRtVtV;t#)riLa;Special type indicating an unconstrained type. - Any is compatible with every type. - Any assumed to have all methods. - All values assumed to be instances of Any. Note that all the above statements are true from the point of view of static type checkers. At runtime, Any should not be used with instance checks. cL<V\Jd \R4h\SV` V4#)zAny cannot be instantiated)rrr__new__rrkwargsrs&*,ryr Any.__new__Xs% #:89 9ws##r|r}) r~rrrrArrrrrs@@ryrrLs $$r|) metaclassc\V R24h)ajSpecial type indicating functions that never return. Example:: from typing import NoReturn def stop() -> NoReturn: raise Exception('no way') NoReturn can also be used as a bottom type, a type that has no values. Starting in Python 3.11, the Never type should be used for this concept instead. Type checkers should treat the two equivalently.  is not subscriptabler=rxs&&ryrara^s tf12 33r|c\V R24h)a(The bottom type, a type that has no members. This can be used to define a function that should never be called, or a function that never returns:: from typing import Never def never_call_me(arg: Never) -> None: pass def int_or_str(arg: int | str) -> None: never_call_me(arg) # type checker error match arg: case int(): print("It's an int") case str(): print("It's a str") case _: never_call_me(arg) # OK, arg is of type Never rr=rxs&&ryr]r]ss, tf12 33r|c\V R24h)aKUsed to spell the type of "self" in classes. Example:: from typing import Self class Foo: def return_self(self) -> Self: ... return self This is especially useful for: - classmethods that are used as alternative constructors - annotating an `__enter__` method which returns self rr=rxs&&ryriris" tf12 33r|c\V R24h)aRepresents an arbitrary literal string. Example:: from typing import LiteralString def run_query(sql: LiteralString) -> None: ... def caller(arbitrary_string: str, literal_string: LiteralString) -> None: run_query("SELECT * FROM students") # OK run_query(literal_string) # OK run_query("SELECT * FROM " + literal_string) # OK run_query(arbitrary_string) # type checker error run_query( # type checker error f"SELECT * FROM students WHERE name = {arbitrary_string}" ) Only string literals and other LiteralStrings are compatible with LiteralString. This provides a tool to help prevent security issues such as SQL injection. rr=rxs&&ryr\r\s0 tf12 33r|c:\W R2RR7p\W34#)aSpecial type construct to mark class variables. An annotation wrapped in ClassVar indicates that a given attribute is intended to be used as a class variable and should not be set on instances of that class. Usage:: class Starship: stats: ClassVar[dict[str, int]] = {} # class variable damage: int = 10 # instance variable ClassVar accepts only types and cannot be further subscribed. Note that ClassVar is not a class itself, and should not be used with isinstance() or issubclass().  accepts only single type.TrrrrwrrNs&& ryrr&& zV+E#F\` aD w ''r|c:\W R2RR7p\W34#)aSpecial typing construct to indicate final names to type checkers. A final name cannot be re-assigned or overridden in a subclass. For example:: MAX_SIZE: Final = 9000 MAX_SIZE += 1 # Error reported by type checker class Connection: TIMEOUT: Final[int] = 10 class FastConnector(Connection): TIMEOUT = 1 # Error reported by type checker There is no runtime checking of these properties. rTrrrs&& ryrrrr|cN\W R24p\V\R43,#)z,Optional[X] is equivalent to Union[X, None].z requires a single type.N)rrr)rwrrs&& ryrrs) jF*B"C DC d4j !!r|rc \V4p\;QJd/.R\\\ V4444FNK 5M(!R\\\ V44444p\ W4# \ dLi;i)aSpecial typing form to define literal types (a.k.a. value types). This form can be used to indicate to type checkers that the corresponding variable or function parameter has a value equivalent to the provided literal (or one of several literals):: def validate_simple(data: Any) -> Literal[True]: # always returns True ... MODE = Literal['r', 'rb', 'w', 'wb'] def open_helper(file: str, mode: MODE) -> str: ... open_helper('/some/path', 'r') # Passes type check open_helper('/other/path', 'typo') # Error in type checker Literal[...] cannot be subclassed. At runtime, an arbitrary value is allowed as type argument to Literal[...], but type checkers may impose restrictions. c3*"TF wrVxK R#5irr})rr_s& ryrLiteral.. s^)]1)]s)rrrr_value_and_type_iterrrrxs&*ryrrst2)4J U^d;OPZ;[6\)]^UU^d;OPZ;[6\)]^^   11    sA"A:: BBc\V R24h)aSpecial form for marking type aliases. Use TypeAlias to indicate that an assignment should be recognized as a proper type alias definition by type checkers. For example:: Predicate: TypeAlias = Callable[..., bool] It's invalid when used anywhere except as in the example above. rr=rxs&&ryrlrls tf12 33r|caVR8Xd \R4h\V\4'gV3pVR,RJg)\VR,\4'g \R4hRo.V3RlVRR4OVR,N5p\ W4#) aGSpecial form for annotating higher-order functions. ``Concatenate`` can be used in conjunction with ``ParamSpec`` and ``Callable`` to represent a higher-order function which adds, removes or transforms the parameters of a callable. For example:: Callable[Concatenate[int, P], int] See PEP 612 for detailed information. z&Cannot take a Concatenate of no types..zMThe last parameter to Concatenate should be a ParamSpec variable or ellipsis.z/Concatenate[arg, ...]: each arg must be a type.c3<<"TFp\VS4xK R#5irrrrrs& ryrConcatenate..7sAAK3''Nr}r)rrrrr)rwrrs&&@ryrr!sR@AA j% ( ( ] rNc !Z 2 %J%J:; ; ;CRACRAR:b>RJ #D 55r|c6\W R24p\W34#)a Special typing construct for marking user-defined type predicate functions. ``TypeGuard`` can be used to annotate the return type of a user-defined type predicate function. ``TypeGuard`` only accepts a single type argument. At runtime, functions marked this way should return a boolean. ``TypeGuard`` aims to benefit *type narrowing* -- a technique used by static type checkers to determine a more precise type of an expression within a program's code flow. Usually type narrowing is done by analyzing conditional code flow and applying the narrowing to a block of code. The conditional expression here is sometimes referred to as a "type predicate". Sometimes it would be convenient to use a user-defined boolean function as a type predicate. Such a function should use ``TypeGuard[...]`` or ``TypeIs[...]`` as its return type to alert static type checkers to this intention. ``TypeGuard`` should be used over ``TypeIs`` when narrowing from an incompatible type (e.g., ``list[object]`` to ``list[int]``) or when the function does not return ``True`` for all instances of the narrowed type. Using ``-> TypeGuard[NarrowedType]`` tells the static type checker that for a given function: 1. The return value is a boolean. 2. If the return value is ``True``, the type of its argument is ``NarrowedType``. For example:: def is_str_list(val: list[object]) -> TypeGuard[list[str]]: '''Determines whether all objects in the list are strings''' return all(isinstance(x, str) for x in val) def func1(val: list[object]): if is_str_list(val): # Type of ``val`` is narrowed to ``list[str]``. print(" ".join(val)) else: # Type of ``val`` remains as ``list[object]``. print("Not a list of strings!") Strict type narrowing is not enforced -- ``TypeB`` need not be a narrower form of ``TypeA`` (it can even be a wider form) and this may lead to type-unsafe results. The main reason is to allow for things like narrowing ``list[object]`` to ``list[str]`` even though the latter is not a subtype of the former, since ``list`` is invariant. The responsibility of writing type-safe type predicates is left to the user. ``TypeGuard`` also works with type variables. For more information, see PEP 647 (User-Defined Type Guards). rrrs&& ryrmrm;s$h zV+E#F GD w ''r|c6\W R24p\W34#)aV Special typing construct for marking user-defined type predicate functions. ``TypeIs`` can be used to annotate the return type of a user-defined type predicate function. ``TypeIs`` only accepts a single type argument. At runtime, functions marked this way should return a boolean and accept at least one argument. ``TypeIs`` aims to benefit *type narrowing* -- a technique used by static type checkers to determine a more precise type of an expression within a program's code flow. Usually type narrowing is done by analyzing conditional code flow and applying the narrowing to a block of code. The conditional expression here is sometimes referred to as a "type predicate". Sometimes it would be convenient to use a user-defined boolean function as a type predicate. Such a function should use ``TypeIs[...]`` or ``TypeGuard[...]`` as its return type to alert static type checkers to this intention. ``TypeIs`` usually has more intuitive behavior than ``TypeGuard``, but it cannot be used when the input and output types are incompatible (e.g., ``list[object]`` to ``list[int]``) or when the function does not return ``True`` for all instances of the narrowed type. Using ``-> TypeIs[NarrowedType]`` tells the static type checker that for a given function: 1. The return value is a boolean. 2. If the return value is ``True``, the type of its argument is the intersection of the argument's original type and ``NarrowedType``. 3. If the return value is ``False``, the type of its argument is narrowed to exclude ``NarrowedType``. For example:: from typing import assert_type, final, TypeIs class Parent: pass class Child(Parent): pass @final class Unrelated: pass def is_parent(val: object) -> TypeIs[Parent]: return isinstance(val, Parent) def run(arg: Child | Unrelated): if is_parent(arg): # Type of ``arg`` is narrowed to the intersection # of ``Parent`` and ``Child``, which is equivalent to # ``Child``. assert_type(arg, Child) else: # Type of ``arg`` is narrowed to exclude ``Parent``, # so only ``Unrelated`` is left. assert_type(arg, Unrelated) The type inside ``TypeIs`` must be consistent with the type of the function's argument; if it is not, static type checkers will raise an error. An incorrectly written ``TypeIs`` function can lead to unsound behavior in the type system; it is the user's responsibility to write such functions in a type-safe manner. ``TypeIs`` also works with type variables. For more information, see PEP 742 (Narrowing types with ``TypeIs``). rrrs&& ryrnrnss$B zV+E#F GD w ''r|c Ve;VPeVPVR&VPeVPVR&\P!V3/VBpVPV#)Nrr)r, __owner__rur__forward_code__)coderr forward_refs&$, ryrrsc  + + 7,??F8   " " .+55F7O%00@@K  r|r r!r"r#c zV\PP8Xd VP#VPV9dV#Vf\PPpVP W#WAVR7p\ V\P4'd"V\PP8XdV#\ V\4'dB\YpPT;'g VPVPVPR7pVf VPp\VVVVW`P0,VVVR7#)aEvaluate a forward reference as a type hint. This is similar to calling the ForwardRef.evaluate() method, but unlike that method, evaluate_forward_ref() also recursively evaluates forward references nested within the type hint. *forward_ref* must be an instance of ForwardRef. *owner*, if given, should be the object that holds the annotations that the forward reference derived from, such as a module, class object, or function. It is used to infer the namespaces to use for looking up names. *globals* and *locals* can also be explicitly given to provide the global and local namespaces. *type_params* is a tuple of type parameters that are in scope when evaluating the forward reference. This parameter should be provided (though it may be an empty tuple) if *owner* is not given and the forward reference does not already have an owner set. *format* specifies the format of the annotation and is a member of the annotationlib.Format enum, defaulting to VALUE. )r r!r"rr)rrrr)rrrr)ruFormatSTRING__forward_arg__VALUEevaluaterr FORWARDREFrrr,r__forward_is_argument____forward_is_class__r')rrr r!r"rr#values&$$$$$$ ryrSrSs#:$++222***""&66 ~$++11  -8f ! VE 5-8899-44??? %!%0N0N(-(F(F1F1F.9.Q.Q+6+K+KM }%%  (,G,G+HH!  r|c0V^8dQhR\R\/#rrrrr)rs"ryrrsNNNNr|cZ\V\4'*;'d\VRR4RJ#)#__typing_is_unpacked_typevartuple__FT)rrrvrs&ryrrs5At$ $ M M A?? Jr|c VPpVPV4pW4^,RF'p\V\4'gK\ RV 24h \ V4p\ V4pTpWt, ^, p Rp Rp \ V4Fowr\V \4'dK\V RR4pV'gK4\ V4^8XgKFVR ,RJgKUV e \ R4hT p V^,p Kq V e&\W4p\WV , ^, 4p M(W,V8d\ RV RV RV^, 24hWV , 8Xd-VP4'd\VP4pM W(Wi, p.VRVOV .WH, ,OVNV .Wy, V, V, ^, ,OW&V , RO5#) Nz(More than one TypeVarTuple parameter in r.z6More than one unpacked arbitrary-length tuple argumentToo few arguments for rz, expected at least r) rindexrr rr enumeraterrvminrr __default__)rwaliasrrtypevartuple_indexparamalenplenleftrightvar_tuple_indexfillargkrr replacements&&& ry_typevartuple_prepare_substrs  ! !Fd+Q./0 e\ * *FugNO O1 t9D v;D D  % )EOGD/#t$$c#CTJGw3w<1,1C".#$\]]"#!!*""4)E/1A56  08##'&(.AsD1K#566zFExpected a list of types, an ellipsis, ParamSpec, or Concatenate. Got )rrrrrrwrs&&ry_paramspec_substr?su#e}%%eDDe J DDD JC ::=@A A Jr|cVPpVPV4pV\V48Xd(VP4'd.VOVPN5pV\V48d\ RV 24h\V4^8Xd'\ V^,4'gV^8XgQhV3pV#\W$,\4'd%.VRVO\W$,4NW$^,RO5pV#)rN) rrrrrrrrrr)rwrrris&&& ry_paramspec_prepare_substrHs  ! !F TACI~$**,,((t''(CI~0899 6{atAw 7 7Av vw K DGT " "7bq75>7D1J7 Kr|c\V\4'gV3p\;QJd.RV4FNK 5M !RV44pV\\39pV'dV'g\ RVP R24h\ ;QJdRV4F 'dK RM RM !RV44'g\ RVP R24h\\V44\V48wd\ RVP R 24hMVPpTFp\TRR 4pTfKT!Y4pK \Y4.p\!Y14F?wri\T\"4'dTP%T 4K.TP'T 4KA \T4p\)W4# \dKp\TR R 4pTR \P09d!TPR TP : R 24hR p?ii;i)ajParameterizes a generic class. At least, parameterizing a generic class is the *main* thing this method does. For example, for some generic class `Foo`, this is called when we do `Foo[int]` - there, with `cls=Foo` and `args=int`. However, note that this method is also called when defining generic classes in the first place with `class Foo(Generic[T]): ...`. c38"TFp\V4xK R#5irrrs& ryr)_generic_class_getitem..gs04aq!!4rzParameter list to z[...] cannot be emptyc38"TFp\V4xK R#5ir)rrs& ryrrps51#A&&rFTzParameters to zF[...] must all be type variables or parameter specification variables.z[...] must all be uniquer>Nz-Note: this exception may have been caused by z^ (or the '__init_subclass__' method on a superclass) not calling 'super().__init_subclass__()'__typing_prepare_subst__)rrr rrrallr~rsetrrMrvr>add_noterzipr rrr) rris_generic_or_protocolre init_subclassrpreparenew_argsnew_args && ry_generic_class_getitemrYs dE " "w 504055040 0D Wh$77$S%5%5$66KL s55sss5555 /89: : s4y>SY & .FGI I ' ++J Ee%?FG"s)  &c0!*3NE%..(( 4 X  ##1 #C).s"M5aWrr __bases__r~r_TypedDictMetarrrrrrrrr) rrrtvarserrorgvarsbasetvarsets_varss_argsrs &*, @ry_generic_init_subclassrsy '3)4:6: E3<<'3---CMM)00LLJ.00I/  ;<<3<<'(););< &&D4//OOw.$#JLL++ '  %jG%jGg%"M5"MM"95"99"7x@::@!DEEEuCr|cVVPR4;'dVPR4#)__) startswithendswith)rxs&ry _is_dunderr s" ??4 8 8T]]4%88r|craa]tRtRtoRtRRRR/RltRtR tR tV3R lt R t R t V3Rlt Rt VtV;t#)_BaseGenericAliasiaThe central part of the internal API. This represents a generic version of type 'origin' with type arguments 'params'. There are two kind of these aliases: user defined and special. The special ones are wrappers around builtin collections and ABCs in collections.abc. These must have 'name' always set. If 'inst' is False, then the alias can't be instantiated; this is used by e.g. typing.List and typing.Dict. instTnameNc8W nW0nWnRVnR#r)_instrHrr)rworiginr r s&&$$ryrJ_BaseGenericAlias.__init__s   r|cVP'g1\RVP RVPP R24hVP!V/VBpWnV# \ dT#i;i)zType z cannot be instantiated; use z () instead)rrrHrr~__orig_class__ Exception)rwrrresults&*, ryra_BaseGenericAlias.__call__szzzeDJJ<0##'??#;#;".s0"+B#2t,HHB1HH"+s77TF) rrrrr rrvranyrr )rwrSresrbmeth new_basess&& ryrT!_BaseGenericAlias.__mro_entries__s ??% ' JJt ' KK stA!.//a&&q"3T:+/DKT y%00C"+CCC"+  1Aw''" JJw Szr|cVR9d+VP;'gVPP#RVP9d(\ V4'g\ VPV4#\ V4h)r~r>r~r)rHrr~rr rvrM)rwrxs&&ryrz_BaseGenericAlias.__getattr__s[ / /::99!9!9 9 4== (D1A1A4??D1 1T""r|c<\V4'gVR9d\SV` W4R#\VPW4R#)rHN>rrH_nparams _defaults)r r __setattr__setattrr)rwrxvalrs&&&ryr'_BaseGenericAlias.__setattr__s1 d  t'RR G  * DOOT /r|c6VP\V44#r)rurros&&ryrp#_BaseGenericAlias.__instancecheck__ s%%d3i00r|c\R4h)zBSubscripted generics cannot be used with class and instance checksr=rts&&ryru#_BaseGenericAlias.__subclasscheck__s56 6r|c <\\\SV` 4\ VP 4Uu.uFp\ V4'dKVNK up,44#uupir)rrr__dir__dirrr rwrxrs& ryr0_BaseGenericAlias.__dir__sRC)$'$8Q$8D 4@P44$8QRST TQs AA)rrrrH)r~rrrrArJrarTrzr'rprur0rrrrs@@ryr r sHt$ @#0 16TTr|r caa]tRtRtoRRRR/V3RlltRtRtR tR t] R 4t R t R t Rt RtRtV3RltRtRtVtV;t#)ri#r Tr Nc6<\SV`WVR7\V\4'gV3p\;QJd.RV4FNK 5M !RV44VnV\ \ 39p\VVR7VnV'gVPVn R#R#)r r c3>"TFpV\JdRMTxK R#5i).N)_TypingEllipsisrs& ryr)_GenericAlias.__init__..As&/)-A&'/%9c )-s)rN) rrJrrrr rrrr)rwrrr r rrs&&&$$ ryrJ_GenericAlias.__init__=s 6$&&7D/)-//)-// #)gx-@#@ 6 %= $//DOr|c\V\4'g\#VPVP8H;'dVPVP8H#r)rrNotImplementedrrres&&ry__eq___GenericAlias.__eq__KsF%//! !5#3#3344MMU^^3 5r|cD\VPVP34#r)hashrrrs&ry__hash___GenericAlias.__hash__QsT__dmm455r|c\W3,#rrdrwrs&&ryrg_GenericAlias.__or__Trir|c\W3,#rrdrwrs&&ryrk_GenericAlias.__ror__WTZ  r|c.VP\\39d\RV 24hVP'g\V R24h\ V\ 4'gV3p\RV4!pVPV4pVPV4pV#)z%Cannot subscript already-subscripted rc38"TFp\V4xK R#5irrrs& ryr,_GenericAlias.__getitem__..ts=1mA..r) rr rrrrrr_determine_new_argsr4)rwrrrs&& ryry_GenericAlias.__getitem__Zs" ??w1 1CD6JK K"""tf$;<= =$&&7D==>++D1 NN8 $r|c JVPpVFp\VRR4pVfKV!W4pK \V4p\V4pWV8wd \RWV8dRMR RV RV RV 24h\ \ W!44p\ VPVPV44#)rNrrrrrr) rrvrrrrr_make_substitutionr)rwrrrrrrnew_arg_by_params&& ryrM!_GenericAlias._determine_new_argsys$$Ee%?FG"t*4y6{ <dT[6e"DOTXSYZ''+fKv?@ @F 12T,,T]]#G-=rB  %G G&%a66#NN+;+>?#NN+;+>? ' &eGn5G+//":"::z'SX?Y?Y(*733(GU++$11'LM(qrr|cfVPVPWPVPR7#)r r )rrrHrrwrs&&ryr4_GenericAlias.copy_withs#~~doot**4::~VVr|c$VP'dRVP,pM\VP4pVP'd6RP VPUu.uFp\V4NK up4pMRpV RV R2#uupi)rXrz()rr)rHrrrr)rwr r(rs& ryr_GenericAlias.__repr__su :::tzz)Ddoo.D ===99T]]C]jm]CDDDqa  Ds'B c(VP'd\4VP,pM VPp\VP4p\ V4^8Xd"\ V^,\4'gVwp\PW33#r) rHr rrrrrr2rI)rwrrs& ryr]_GenericAlias.__reduce__sg :::Ytzz*F__FT]]# t9>*T!We"<"<ED&//r|c<\VP\4'd\RV: 24hVP'd\ SV`V4#VP\JdR\V9dR#VPV4pW^,RF$p\V\4'gKW0JgK"Ru# VP3#)rQNr}) rrrrrHrrTr rrr )rwrSrrrs&& ryrT_GenericAlias.__mro_entries__s doo| 4 4.th78 8 :::7*51 1 ??g %5   D!AQ34[a!233 I!!!r|c#,"\V,xR#5ir)rors&ryrD_GenericAlias.__iter__sTls)rrr)r~rrrrJr=rArgrkrryrMrQr4rr]rTrDrrrrs@@ryrr#sk4 0T 0 05 6"!<O:<|W !0 "r|rc|aa]tRtRtoRRRRRR/V3Rllt]R4tR tR tV3R lt R t R t Rt Rt VtV;t#)_SpecialGenericAliasir Tr Ndefaultsc<Vf VPp\SV` WVR7W nWPnVP R8XdRVP R2VnR#RVP RVP R2VnR#)Nr6builtinszDeprecated alias to r)r~rrJr%r&rrrA)rwrnparamsr r rhrs&&&$$$ryrJ_SpecialGenericAlias.__init__sw <??D 6 !    *1&2E2E1FaHDL1&2C2C1DAfFYFYEZZ[\DLr|c Fa\V\4'gV3pRo\;QJd.V3RlV4FNK 5M!V3RlV44pVP'd}\V4VP8dc\V4\VP4,VP8d/.VOVP\V4VP, RO5p\V4pW P8wdVP'd+RVP\VP4, 2pM\ VP4pVP'g\ V R24h\ RW P8dRMR RV R V R V 24hVPV4#) rc3<<"TFp\VS4xK R#5irrrs& ryr3_SpecialGenericAlias.__getitem__..;Fq{1c**FrNrrrrrrrr)rrr&rr%rrr4)rwrrexpectedrs&& @ryry _SpecialGenericAlias.__getitem__sN&%((YF:;F;;F;; NNNF dmm+F c$..11T]]BMvMs6{T]]/J/K LMF[  &~~~&t}}s4>>7J'J&KLt}}-===4&(? @AAdZ---G6U"SSbcgbhi''1l+hZIJ J~~f%%r|c\\VPVVPVPR7#rZ)rrrHrrwrs&&ryr4_SpecialGenericAlias.copy_with(s$T__f"&**4::? ?r|c(RVP,#rWrYrs&ryr_SpecialGenericAlias.__repr__,r[r|c<\V\4'd!\VPVP4#\V\4'g\WP4#\ SV`V4#r)rrgrrrrru)rwrrs&&ryru&_SpecialGenericAlias.__subclasscheck__/sR c/ 0 0cnndoo> >#}--c??3 3w(--r|cVP#rrYrs&ryr]_SpecialGenericAlias.__reduce__6r_r|c\W3,#rrdrDs&&ryrg_SpecialGenericAlias.__or__9rir|c\W3,#rrdrGs&&ryrk_SpecialGenericAlias.__ror__<rIr|)rAr&r%r})r~rrrrJrryr4rrur]rgrkrrrrs@@ryrgrgsZ ] ]4 ]" ]&&.?&."!!r|rgcJaa]tRtRtoRRRR/V3RlltV3RltRtVtV;t#) _DeprecatedGenericAliasi@r Tr Nc6<\SV`WWER7W0nR#)r6N)rrJ_removal_version)rwrrkremoval_versionr r rs&&&$$$ryrJ _DeprecatedGenericAlias.__init__As t? /r|c<^RIpVPVP RVP 2VPR7\ SV`V4#)rsNrremove)r _deprecatedrrHrrrp)rwr rrs&& ryrp)_DeprecatedGenericAlias.__instancecheck__GsJq -d6K6K  w(..r|)r) r~rrrrJrprrrrs@@ryrr@s$08<0CG0 //r|rc8aa]tRtRtoV3RltRtRtVtV;t#)_CallableGenericAliasiOc @<VPR8XgQhVPp\V4^8Xd'\V^,4'd\SV`4#RRP VRRUu.uFp\V4NK up4 R\VR,4 R2#uupi)rztyping.Callable[[rNz], rr)rHrrrrrrr)rwrr(rs& ryr_CallableGenericAlias.__repr__PszzZ'''}} t9>nT!W557#% %YYtCRyAy! 1 yABC3d2h'(+ ,As*B cVPp\V4^8Xd\V^,4'g\VRR4VR,3p\P \ V33#)rNr)rrrrr2rIrr[s& ryr] _CallableGenericAlias.__reduce__YsR}}D Q>$q'#:#:Sb ?DH,D(D!111r|r}) r~rrrrr]rrrrs@@ryrrOs,22r|rc<a]tRtRtoRtRt]R4tRtVt R#) _CallableTypei`c\\VPVVPVPR7#rZ)rrrHrrts&&ryr4_CallableType.copy_withas&$T__f*.**4::G Gr|c\V\4'd\V4^8wd \R4hVwr#\V\4'd\V4V3pMW#3pVP V4#)rz6Callable must be used as Callable[[arg, ...], result].)rrrrr__getitem_inner__)rwrrrs&& ryry_CallableType.__getitem__esh&%((CK1,<<= =  dD ! !Dk6*F^F%%f--r|c$Vwr#Rp\W44pV\JdVP\V34#\ V\ 4'gV3p\ ;QJd.RV4FNK 5M !RV44pW#3,pVPV4#)z.Callable[args, result]: result must be a type.c38"TFp\V4xK R#5irr)rrs& ryr2_CallableType.__getitem_inner__..|s84C]3''4r)rEllipsisr4r8rr)rwrrrrs&& ryr_CallableType.__getitem_inner__ss >V) 8 >>?F";< <$&&7Du848uu8488 !~~f%%r|r}N) r~rrrr4ryrrrrrs@ryrr`s$G . & &r|rc0a]tRtRto]R4tRtVtR#) _TupleTypeica\V\4'gV3p\V4^8dbVR,RJdURo\;QJd.V3RlVRR4FNK 5M!V3RlVRR44pVP.VO\N54#Ro\;QJd.V3RlV4FNK 5M!V3RlV44pVPV4#)r.z Tuple[t, ...]: t must be a type.c3<<"TFp\VS4xK R#5irrrs& ryr)_TupleType.__getitem__..sD 1;q#.. rNz*Tuple[t0, t1, ...]: each t must be a type.c3<<"TFp\VS4xK R#5irrrs& ryrrrprr)rrrr4r8)rwrrs&&@ryry_TupleType.__getitem__s&%((YF v;! r c 14CUDs DUUDs DDF>>".s -*QQL*rr})rs&ryrrs -* --r|c,a]tRtRtoRtRtRtVtR#)ric\V\4'g\#\\ VP 44\\ VP 448H#r)rrr<rrrres&&ryr=_LiteralGenericAlias.__eq__sB%!566! !' 673?STYTbTb?c;dddr|cP\\\VP444#r)r@ frozensetrrrs&ryrA_LiteralGenericAlias.__hash__sI24==ABCCr|r}N)r~rrrr=rArrrs@ryrrse DDr|rc2aa]tRtRtoV3RltRtVtV;t#)ric<\VR,\\34'd.VRROVR,O5#\VR,\4'd.VRROVR,PO5p\ SV`V4#)rNr)rrrrrrr4)rwrrs&&ryr4"_ConcatenateGenericAlias.copy_withss fRj4- 0 0.VCR[.6":. . fRj": ; ;9vcr{9VBZ%8%89Fw ((r|r})r~rrrr4rrrrs@@ryrrs))r|rc8\W R24p\W3R7#)aqType unpack operator. The type unpack operator takes the child types from some container type, such as `tuple[int, str]` or a `TypeVarTuple`, and 'pulls them out'. For example:: # For some generic class `Foo`: Foo[Unpack[tuple[int, str]]] # Equivalent to Foo[int, str] Ts = TypeVarTuple('Ts') # Specifies that `Bar` is generic in an arbitrary number of types. # (Think of `Ts` as a tuple of an arbitrary number of individual # `TypeVar`s, which the `Unpack` is 'pulling out' directly into the # `Generic[]`.) class Bar(Generic[Unpack[Ts]]): ... Bar[int] # Valid Bar[int, str] # Also valid From Python 3.11, this can also be done using the `*` operator:: Foo[*tuple[int, str]] class Bar(Generic[*Ts]): ... And from Python 3.12, it can be done using built-in syntax for generics:: Foo[*tuple[int, str]] class Bar[*Ts]: ... The operator can also be used along with a `TypedDict` to annotate `**kwargs` in a function signature:: class Movie(TypedDict): name: str year: int # This function expects two keyword arguments - *name* of type `str` and # *year* of type `int`. def foo(**kwargs: Unpack[Movie]): ... Note that there is only some runtime checking of this operator. Not everything the runtime allows may be accepted by static type checkers. For more information, see PEPs 646 and 692. r)rr)r_UnpackGenericAliasrs&& ryroros$^ zV+E#F GD d 99r|cXaa]tRtRtoRtV3Rlt]R4t]R4tRt Vt V;t #)ricBR\VP^,4 R2#)ztyping.Unpack[r)rrrs&ryr_UnpackGenericAlias.__repr__s" 4==+; <=Q??r|cJ<VP'dV#\SV` V4#r)rrry)rwrrs&&ryry_UnpackGenericAlias.__getitem__s$  3 3 3Kw"4((r|c(VP\JgQh\VP4^8XgQhVPwp\ V\ \ P34'd,VP\Jd \R4hVP#R#)rz*Unpack[...] must be used with a tuple typeN) rrorrrrtypesrrrrs& ryr2_UnpackGenericAlias.__typing_unpacked_tuple_args__ ss&(((4==!Q&&&}} cM5+=+=> ? ?~~U* LMM<< r|cVP\JgQh\VP4^8XgQh\ VP^,\ 4#r`)rrorrrr rs&ryr7_UnpackGenericAlias.__typing_is_unpacked_typevartuple__sA&(((4==!Q&&&$--*L99r|r}) r~rrrrrypropertyrrrrrrs@@ryrrs=@ ) :::r|rc]tRtRtRtRtR#)r8iz(Internal placeholder for ... (ellipsis).r}N)r~rrrrArr}r|ryr8r8s2r|r8_MutableMapping__markerc\4pVPRRFqpVPR9dKVPp.VPOVOF:pVPR4'dKV\9gK)VPV4K< Ks V# \d3\ P T\ PPR7pLi;i)zCollect protocol members from a protocol class objects. This includes names actually defined in the class dictionary, as well as names that appear in annotations. Special names (above) are skipped. Nr_abc_r>r r) r__mro__r~__annotations__rruget_annotationsrrrrEXCLUDED_ATTRIBUTESadd)rattrsr annotationsrxs& ry_get_protocol_attrsr2s EE CR  ==3 3  ..K 3dmm2k2D??7++K s B:C Ccb\V4pVP'd \R4hVP\JdR#VP F5pVP PR\4pV\JgK/WSnM \PVnVP!V.VO5/VBR#)z Protocols cannot be instantiatedNrJ) r _is_protocolrrJ_no_init_or_replace_initrrr/r)rwrrrrinits&*, ryrrIs t*C :;; ||33 }}  -EF / /L   LL'''r|c\P!V^,4;'gT# \dMi;i\P!T^,4PP RT4# \\ 3dR#i;i)rr~N)r-_getframemodulenamerM _getframe f_globalsr/ ValueError)depthdefaults&&ry_callerrfs{ &&uqy1<Nrr)r)rs&ry_allow_reckless_class_checksrqs 5>7 77r|zcollections.abc contextlibAbstractContextManagerAbstractAsyncContextManagerioReaderWriterosPathLikec^RIHpV#)rsgetattr_static)inspectrrs ry_lazy_load_getattr_staticrs ' r|c(\VP33#r)r r)psargss&ry_pickle_psargsrs 6,,. ..r|c(\VP33#r)r r)pskwargss&ry_pickle_pskwargsrs X002 22r|cH\V\4'g \R4hR#)aRaise TypeError if `arg` is not an instance of `type` in `issubclass(arg, )`. In most cases, this is verified by type.__subclasscheck__. Checking it again unnecessarily would slow down issubclass() checks, so, we don't perform this check unless we absolutely have to. For various error paths, however, we want to ensure that *this* error message is shown to the user where relevant, rather than a typing.py-specific error message. z"issubclass() arg 1 must be a classN)rrrrs&ry_type_check_issubclass_arg_1rs" c4 <== !r|cJaa]tRtRtoV3RltV3RltRtRtRtVt V;t #) _ProtocolMetaic p<VR8XdV\38XdM\V9dVFpV\\09dKVP\P VP .49dKG\V\4'd\VRR4'dKr\RV: 24h \SV`,!WW#3/VB#)rrFz5Protocols can only inherit from other protocols, got ) r rrr~_PROTO_ALLOWLISTr/rrrvrrr)mclsr rS namespacerrrs"""", ryr_ProtocolMeta.__new__s : %G:"5   VW--}}(8(<(>,U33 222LL$$%78KG,U3#)#*L*L#M ,,/0@,A!B,G+HK"#--r|cV\Jd\PW4#\VRR4'g \ W4#\VRR4'g\ 4'g \ R4h\ W4'dR#\4pVPF%pV!W4pTeKY0P9gK$R# R# \dR#i;i)rFrrT) rrrprv_abc_instancecheckrrrrrMr)rinstancerrxr)s&& ryrp_ProtocolMeta.__instancecheck__s (?))#8 8sNE22%c4 43U;;,..<= = c , ,24**D $X4{t+M+MM+ "  sC CCr}) r~rrrrrJrurprrrrs@@ryr r sG&> .4r|r cVPPRR4'g\#VPFpVPFxpW#P9d#VPV,f \uu#KD\ V\ 4'gKM\VRR4'gKbVPpW$9gKwK \u# R# \d3\PT\PPR7pLUi;i)rFrT)rr/r<rrrr rvrrrurrr)rrfrxrannoss&& ryrr s <<  NE 2 2&&MMD}}$==&.))%))ge^U.S.S 00E =%"(" !+', !/??%8%?%?%J%J@Es' C  :D D cBaa]tRtRtoRtRtRtRtV3RltRt Vt V;t #)ri+a Base class for protocol classes. Protocol classes are defined as:: class Proto(Protocol): def meth(self) -> int: ... Such classes are primarily used with static type checkers that recognize structural subtyping (static duck-typing). For example:: class C: def meth(self) -> int: return 0 def func(x: Proto) -> int: return x.meth() func(C()) # Passes static type check See PEP 544 for details. Protocol classes decorated with @typing.runtime_checkable act as simple-minded runtime protocols that check only the presence of given attributes, ignoring their type signatures. Protocol classes can be generic, they are defined as:: class GenProto[T](Protocol): def meth(self) -> T: ... TFc<\SV`!V/VBVPPRR4'gN\;QJd&RVP 4F 'gK RM RM!RVP 44VnRVP9d \VnVP 'd.VP\PJd\Vn R#R#R#)rFc30"TF q\JxK R#5irrrrs& ryr-Protocol.__init_subclass__..Us"H-Q=-sTrN) rr>rr/rrrrrrJrrrs&*,ryr>Protocol.__init_subclass__Ps !4262||66"s"H#--"Hsss"H#--"HHC  S\\ 1#.C      0A0A A3CL!B r|r}) r~rrrrArrrr>rrrrs@@ryrr+s'@IL  4 4r|cfaa]tRtRtoRtV3RltRtRtRtRt Rt V3R lt R t R t VtV;t#) _AnnotatedAliasi`aiRuntime representation of an annotated type. At its core 'Annotated[t, dec1, dec2, ...]' is an alias for the type 't' with extra metadata. The alias behaves like a normal typing alias. Instantiating is the same as instantiating the underlying type; binding it to types is also the same. The metadata itself is stored in a '__metadata__' attribute as a tuple. c<\V\4'd VPV,pVPp\SV`WRR7W nR#)rr N)rr* __metadata__rrrJ)rwrmetadatars&&&ryrJ_AnnotatedAlias.__init__ksC fo . .**X5H&&F k:$r|cb\V4^8XgQhV^,p\W P4#r`)rr*r-)rwrnew_types&& ryr4_AnnotatedAlias.copy_withrs.6{a!9x):):;;r|cRP\VP4RPRVP444#)ztyping.Annotated[{}, {}]rc38"TFp\V4xK R#5ir)reprrs& ryr+_AnnotatedAlias.__repr__..zs9'8!d1gg'8r)rrrrr-rs&ryr_AnnotatedAlias.__repr__ws9)00 t ' II9t'8'89 9  r|cj\P\VP3VP,33#r)r2rIrrr-rs&ryr]_AnnotatedAlias.__reduce__}s1 )D,=,=="   r|c\V\4'g\#VPVP8H;'dVPVP8H#r)rr*r<rr-res&&ryr=_AnnotatedAlias.__eq__sJ%11! !5#3#33<<%%););; =r|cD\VPVP34#r)r@rr-rs&ryrA_AnnotatedAlias.__hash__sT__d&7&7899r|c4<VR9dR#\SV`V4#)r~r>r~r)rrzr2s&&ryrz_AnnotatedAlias.__getattr__s / /w"4((r|cVP3#r)rrRs&&ryrT_AnnotatedAlias.__mro_entries__s!!r|)r-)r~rrrrArJr4rr]r=rArzrTrrrrs@@ryr*r*`s7%<   = :) ""r|r*c\V4^8d \R4h\V^,4'd \R4hRp\V^,VRR7p\ VR,4p\ W44#)aAdd context-specific metadata to a type. Example: Annotated[int, runtime_check.Unsigned] indicates to the hypothetical runtime_check module that this type is an unsigned int. Every other consumer of this type can ignore this metadata and treat this type as int. The first argument to Annotated must be a valid type. Details: - It's an error to call `Annotated` with less than two arguments. - Access the metadata via the ``__metadata__`` attribute:: assert Annotated[int, '$'].__metadata__ == ('$',) - Nested Annotated types are flattened:: assert Annotated[Annotated[T, Ann1, Ann2], Ann3] == Annotated[T, Ann1, Ann2, Ann3] - Instantiating an annotated type is equivalent to instantiating the underlying type:: assert Annotated[C, Ann1](5) == C(5) - Annotated can be used as a generic type alias:: type Optimized[T] = Annotated[T, runtime.Optimize()] # type checker will treat Optimized[int] # as equivalent to Annotated[int, runtime.Optimize()] type OptimizedList[T] = Annotated[list[T], runtime.Optimize()] # type checker will treat OptimizedList[int] # as equivalent to Annotated[list[int], runtime.Optimize()] - Annotated cannot be used with an unpacked TypeVarTuple:: type Variadic[*Ts] = Annotated[*Ts, Ann1] # NOT valid This would be equivalent to:: Annotated[T1, T2, T3, ..., Ann1] where T1, T2 etc. are TypeVars, which would be invalid, because only one type should be passed to Annotated. zUAnnotated[...] should be used with at least two arguments (a type and an annotation).z?Annotated[...] should not be used with an unpacked TypeVarTuplez$Annotated[t, ...]: t must be a type.Tr:rNN)rrrrrr*)rwrrrr.s&* ryrrsub 6{Q'( (!++01 1 0C CT BFVBZ H 6 ,,r|c\V\4'd\VRR4'g\RV,4hRVn\ 4VnVPF>p\\WR44pV'gVP PV4K>K@ V# \dp\RT: R24ThRp?ii;i)a Mark a protocol class as a runtime protocol. Such protocol can be used with isinstance() and issubclass(). Raise TypeError if applied to a non-protocol class. This allows a simple-minded structural check very similar to one trick ponies in collections.abc such as Iterable. For example:: @runtime_checkable class Closable(Protocol): def close(self): ... assert isinstance(open('/some/file'), Closable) Warning: this will check only the presence of the required methods, not their type signatures! rFzB@runtime_checkable can be only applied to protocol classes, got %rTNz,Failed to determine whether protocol member z is a method member) rr rvrrrrrcallablerr)rrx is_callablers& ryrhrhs& c7 # #73+N+N"$'() )#C *-C&&& ="73d#;thG%%  s"B"" C-B>>CcV#)zCast a value to a type. This returns the value unchanged. To the type checker this signals that the return value has the designated type, but at runtime we intentionally don't check anything (we want this to be as fast as possible). r})rr)s&&ryrPrPs  Jr|cV#)aAsk a static type checker to confirm that the value is of the given type. At runtime this does nothing: it returns the first argument unchanged with no checks or side effects, no matter the actual type of the argument. When a static type checker encounters a call to assert_type(), it emits an error if the value is not of the specified type:: def greet(name: str) -> None: assert_type(name, str) # OK assert_type(name, int) # type checker error r})r)rs""ryrNrN s  Jr|c N\VRR4'd/#\PpVf VPp\ V\ 4'Ed}/p\ VP4EFp\PWtR7pWEP8XdVPV4K=Vf7\\PPVPR4R/4p MTp Vf\\!V44MTp VfVfYrVP"p \%WV R4wrVP'4FLwr\ V \(4'd\+V RRR7p \-WV RW@RR7p V f \ R4p WV &KN EK V'gWEP8XdV#VP'4UUu/uFwrV\/V4bK upp#\PWR7pV'ge\ V\0P24'gE\5V4'g4\7VR 4'g"\7VR 4'g\9V: R 24hWEP8XdV#Vfd\ V\0P24'dVP:pM/Tp\7VR 4'dVP<pK \VR /4pVfTpMVfTp\VRR4p \%WVR4wrVP'4Fiwr\ V \(4'd,\+V \ V\0P24'*RR7p \-WVRW@RR7p V f \ R4p WV &Kk V'dV#VP'4UUu/uFwrV\/V4bK upp#uuppiuuppi)aReturn type hints for an object. This is often the same as obj.__annotations__, but it handles forward references encoded as string literals and recursively replaces all 'Annotated[T, ...]' with 'T' (unless 'include_extras=True'). The argument may be a module, class, method, or function. The annotations are returned as a dictionary. For classes, annotations include also inherited members. TypeError is raised if the argument is not of a type that can contain annotations, and an empty dictionary is returned if no annotations are present. BEWARE -- the behavior of globalns and localns is counterintuitive (unless you are familiar with how eval() and exec() work). The search order is locals first, then globals. - If no dict arguments are passed, an attempt is made to use the globals from obj (or the respective module's globals for classes), and these are also used as the locals. If the object does not appear to have globals, an empty dictionary is used. For classes, the search order is globals first then locals. - If one dict argument is passed, it is used for both globals and locals. - If two dict arguments are passed, they specify globals and locals, respectively. __no_type_check__NrrTF)rr)rrrrrz% is not a module, class, or callable. __wrapped__ __globals__rr})rvrurrrrreversedrrrupdater-r.r/rrvarsr_add_type_params_to_scopeitemsrrr'_strip_annotationsr ModuleTyperDrrrrJ)rr)r*include_extrasrrhintsrann base_globals base_localsr"r rrrnsobjs&&&&$ ryrYrY s(@s'.. ' 'F ~#tS[[)D%55d5JC& S!&s{{t'Mz[]^ ' .5o$tDz*7K8#3-8k..K(A;)> %L"yy{ eS))-eQUVE"5 R*0tU= JE#d  ++*: V}}4L9>GA)!,,G G  / / / CE 3 0 011 .//^,,3'!FGHH   c5++ , ,||HE%//))umR8H ?G #0"5K1+RWXH{{}  eS ! !& *30@0@ AAE 5GReij =JEd %#5\ekkm(\mda,>q,A)Am(\\UHT)]s .NN!cV'gW3#\V4p\V4pVFHpV'dVPV9gKWAVP&VPVPR4KJ W3#r)rr~pop)r"r)r*rrs&&&& ryrOrO sa   H~H7mG5>>9',U^^ $ KK -  r|c\V\4'd\VP4#\ VR4'd=VP\ \ \39d\VP^,4#\V\4'dd\;QJd.RVP4FNK 5M!RVP44pWP8XdV#VPV4#\V\4'di\;QJd.RVP4FNK 5M!RVP44pWP8XdV#\VPV4#\V\4'dx\;QJd.RVP4FNK 5M!RVP44pWP8XdV#\P!\ P"V4#V#)z(Strip the annotations from a given type.rc38"TFp\V4xK R#5irrQrs& ryr%_strip_annotations.. HZ033Zrc38"TFp\V4xK R#5irr]rs& ryrr^ r_rc38"TFp\V4xK R#5irr]rs& ryrr^ r_r)rr*rQrrrfrbrerrrr4rrrr1r2r3)r stripped_argss& ryrQrQ sR!_%%!!,,//q,ALLX{H4U$U!!**Q-00!]##HQZZHHQZZHH JJ &H{{=))!\""HQZZHHQZZHH JJ &HALL-88!UHQZZHHQZZHH JJ &H m<< Hr|c\V\4'd\#\V\\\ \ 34'd VP#V\Jd\#\V\4'd\#R#)a[Get the unsubscripted version of a type. This supports generic types, Callable, Tuple, Union, Literal, Final, ClassVar, Annotated, and others. Return None for unsupported types. Examples:: >>> P = ParamSpec('P') >>> assert get_origin(Literal[42]) is Literal >>> assert get_origin(int) is None >>> assert get_origin(ClassVar[int]) is ClassVar >>> assert get_origin(Generic) is Generic >>> assert get_origin(Generic[T]) is Generic >>> assert get_origin(Union[T, int]) is Union >>> assert get_origin(List[Tuple[T, T]][int]) is list >>> assert get_origin(P.args) is P N) rr*rr rr r rr rtps&ryrVrV s`$"o&&"(,$o788}} W}"e r|cV\V\4'dVP3VP,#\V\\ 34'd7VP p\W4'd\VRR4VR,3pV#\V\4'd VP #R#)aGet type arguments with all substitutions performed. For unions, basic simplifications used by Union constructor are performed. Examples:: >>> T = TypeVar('T') >>> assert get_args(Dict[str, int]) == (str, int) >>> assert get_args(int) == () >>> assert get_args(Union[int, Union[T, int], str][int]) == (int, str) >>> assert get_args(Union[int, Tuple[T, int]][str]) == (int, Tuple[str, int]) >>> assert get_args(Callable[[], T][int]) == ([], int) Nrr}) rr*rr-rrrrrr)rers& ryrUrU s"o&& "//11"}l344kk *2 3 3CR>3r7+C "e{{ Ir|c"\V\4#)zCheck if an annotation is a TypedDict class. For example:: >>> from typing import TypedDict >>> class Film(TypedDict): ... title: str ... year: int ... >>> is_typeddict(Film) True >>> is_typeddict(dict) False )rrrds&ryr[r[ s b. ))r|c0V^8dQhR\R\/#rrr)r])rs"ryrr sOOeO5Or|c|\V4p\V4\8dVR\R,p\RV 24h)aStatically assert that a line of code is unreachable. Example:: def int_or_str(arg: int | str) -> None: match arg: case int(): print("It's an int") case str(): print("It's a str") case _: assert_never(arg) If a type checker finds that a call to assert_never() is reachable, it will emit an error. At runtime, this throws an exception when called. Nz...z*Expected code to be unreachable, but got: )r5r_ASSERT_NEVER_REPR_MAX_LENGTHAssertionError)rrs" ryrOrO s@& IE 5z11445= EeWM NNr|cJ\V\4'd\V4Fp\W4p\ VR4'dGVP VP RVP 28wg\VRR4VP8wdKh\V\P4'dRVn \V\P4'dRVPn \V\4'gK\V4K RVn V# \dT#i;i)a5Decorator to indicate that annotations are not type hints. The argument must be a class or function; if it is a class, it applies recursively to all methods and classes defined in that class (but not to methods defined in its superclasses or subclasses). This mutates the function(s) or class(es) in place. rrrNT)rrr1rvrrr~rr FunctionTyperI MethodType__func__r_r)rkeyrs& ryr_r_ s#ts8C##CC00###*:*:);1S\\N'KK3 d3s~~E #u1122(,%#u//0015 .#t$$c"%& $ J   J s D D"!D"cta^RIpVPRRR7\P!S4V3Rl4pV#)zDecorator to give another decorator the @no_type_check effect. This wraps the decorator with something that wraps the decorated function in @no_type_check. Nztyping.no_type_check_decoratorrc.<S!V/VBp\V4pV#r)r_)rrrrs*, rywrapped_decorator2no_type_check_decorator..wrapped_decoratorE s!$'$'T" r|r)rrrr)rrrtsf ryr`r`= s?  9'J__Y  r|c\R4h)z*Helper for @overload to raise when called.zYou should not call an overloaded function. A series of @overload-decorated functions outside a stub module should always be followed by an implementation that is not @overload-ed.)NotImplementedError)rrs*,ry_overload_dummyrzN s  9 ::r|c\VRV4pV\VP,VP,VPP &\# \ d \#i;i)a-Decorator for overloaded functions/methods. In a stub file, place two or more stub definitions for the same function in a row, each decorated with @overload. For example:: @overload def utf8(value: None) -> None: ... @overload def utf8(value: bytes) -> bytes: ... @overload def utf8(value: str) -> bytes: ... In a non-stub file (i.e. a regular .py file), do the same but follow it with an implementation. The implementation should *not* be decorated with @overload:: @overload def utf8(value: None) -> None: ... @overload def utf8(value: bytes) -> bytes: ... @overload def utf8(value: str) -> bytes: ... def utf8(value): ... # implementation goes here The overloads for a function can be retrieved at runtime using the get_overloads() function. rp)rv_overload_registryrr__code__co_firstlinenorMrz)rfs& ryrcrc[ sa@ j$'A VZ1<<(89R9RS     s?A A'&A'c\VRV4pVP\9d.#\VP,pVPV9d.#\ W!P,P 44#)z6Return all defined overloads for *func* as a sequence.rp)rvrr|rrvalues)rrmod_dicts& ryrWrW s^ j$'A||-- !!,,/H~~X% (//1 22r|c.\P4R#)z$Clear all overloads in the registry.N)r|clearr}r|ryrQrQ sr|cFRVnV# \\3dT#i;i)aDecorator to indicate final methods and final classes. Use this decorator to indicate to type checkers that the decorated method cannot be overridden, and decorated class cannot be subclassed. For example:: class Base: @final def done(self) -> None: ... class Sub(Base): def done(self) -> None: # Error reported by type checker ... @final class Leaf: ... class Other(Leaf): # Error reported by type checker ... There is no runtime checking of these properties. The decorator attempts to set the ``__final__`` attribute to ``True`` on the decorated object to allow runtime introspection. T) __final__rMr)rs&ryrTrT s54  H I &  H     TKTVTT_co) covariantV_coVT_coT_contra) contravariantCT_co)rboundaDeprecated alias to collections.abc.Callable. Callable[[int], str] signifies a function that takes a single parameter of type int and returns a str. The subscription syntax must always be used with exactly two values: the argument list and the return type. The argument list must be a list of types, a ParamSpec, Concatenate or ellipsis. The return type must be a single type. There is no syntax to indicate optional or keyword arguments; such function types are rarely used as callback types. r,)rr6a]Deprecated alias to builtins.tuple. Tuple[X, Y] is the cross-product type of X and Y. Example: Tuple[T1, T2] is a tuple of two elements corresponding to type variables T1 and T2. Tuple[int, float, str] is a tuple of an int, a float and a string. To specify a variable-length tuple of homogeneous type, use Tuple[T, ...]. )rhaDeprecated alias to builtins.type. builtins.type or typing.Type can be used to annotate class objects. For example, suppose we have the following classes:: class User: ... # Abstract base for User classes class BasicUser(User): ... class ProUser(User): ... class TeamUser(User): ... And a function that takes a class argument that's a subclass of User and returns an instance of the corresponding class:: def new_user[U](user_class: Type[U]) -> U: user = user_class() # (Here we could write the user object to a database) return user joe = new_user(BasicUser) At this point the type checker knows that joe has type BasicUser. cDa]tRtRtoRtRt]V3RlRl4tRtVt R#)r:i) z(An ABC with one abstract method __int__.c <V^8dQhRS[/#rrint)rrs"ryrSupportsInt.__annotate__0 s   r|cR#rr}rs&ry__int__SupportsInt.__int__/  r|r}N) r~rrrrArrrrrrs@ryr:r:) s2I  r|cDa]tRtRtoRtRt]V3RlRl4tRtVt R#)r8i4 z*An ABC with one abstract method __float__.c <V^8dQhRS[/#r)float)rrs"ryrSupportsFloat.__annotate__;   5 r|cR#rr}rs&ry __float__SupportsFloat.__float__: rr|r}N) r~rrrrArrrrrrs@ryr8r84 4I  r|cDa]tRtRtoRtRt]V3RlRl4tRtVt R#)r7i? z,An ABC with one abstract method __complex__.c <V^8dQhRS[/#r)complex)rrs"ryrSupportsComplex.__annotate__F s  W r|cR#rr}rs&ry __complex__SupportsComplex.__complex__E rr|r}N) r~rrrrArrrrrrs@ryr7r7? s6I  r|cDa]tRtRtoRtRt]V3RlRl4tRtVt R#)r6iJ z*An ABC with one abstract method __bytes__.c <V^8dQhRS[/#r)bytes)rrs"ryrSupportsBytes.__annotate__Q rr|cR#rr}rs&ry __bytes__SupportsBytes.__bytes__P rr|r}N) r~rrrrArrrrrrs@ryr6r6J rr|cDa]tRtRtoRtRt]V3RlRl4tRtVt R#)r9iU z*An ABC with one abstract method __index__.c <V^8dQhRS[/#rr)rrs"ryrSupportsIndex.__annotate__\ s  3 r|cR#rr}rs&ry __index__SupportsIndex.__index__[ rr|r}N) r~rrrrArrrrrrs@ryr9r9U rr|c@aaR5;o3o!VV3RlRS5 p\V4#)rcN<a]tRtRtZtoRtRt]VV3RlRl4tRt Vt R#)r5i` zMAn ABC with one abstract method __abs__ that is covariant in its return type.c <V^8dQhRSZ/#rr})rrrs"ryrSupportsAbs.__annotate__g s   r|cR#rr}rs&ry__abs__SupportsAbs.__abs__f rr|r}N) r~rrrrrArrrrrr .type_paramsrs@ryr5r5` s$WI   r|r5r% .generic_baserrs @@ry#r` s  X r|c@aaR5;o3o!VV3RlRS5 p\V4#)rcR<a]tRtRtZtoRtRt]RVV3RlRll4tRt Vt R#)r;ik zOAn ABC with one abstract method __round__ that is covariant in its return type.c&<V^8dQhRS[RSZ/#)rndigitsrr)rrrs"ryrSupportsRound.__annotate__r s   Q r|cR#rr})rwrs&&ry __round__SupportsRound.__round__q rr|r}Nrs) r~rrrrrArrrrrrs@ryr;r;k s$YI   r|r;r%rs @@ry%rk s  x r|cf\P!WWCR7pV;VnVPnV#)rhr)r namedtuplerr)r fields annotate_funcrrhnm_tpls&&&&& ry _make_nmtuplerv s1  # #D-5FF8EEF&..5 Mr|c aaSP!4UUu/uFwrV\VRV R24bK uppoVV3RlpV#uuppi)field  annotation must be a typec<T;;\PP8XdS#;\PP8XdS#\PP8Xd\P S4#\ T4hr)rurrrrannotations_to_stringry)r checked_typesrs&ryannotate&_make_eager_annotate..annotate svY1$++11Y$$5Z4G4N4N4Y4YY$$Z$++22*@@GG)&11r|)rPr)rrqr)rrsf @ry_make_eager_annotater} sO%*[[]4%2+cVC58R+STT%24M2 O4sAc&a]tRtRtoRtRtVtR#)NamedTupleMetai c a\V9gQhRV9d \R4hVF$pV\JgKV\JgK\R4h \;QJd.RV4FNK 5M !RV44pRV9d!VR,p\ V4p\ V4pM\ PV4;oee\ PS\ PP4p\ V4pVP!4Fp\VR4K V3RlpM.pRp.p VFYp W9dV PV 4KV 'gK&\R T R \V 4^8dR MR R RPV 4 24h \!YTV U u.uF qV ,NK up VR,R7p W,n\V9d\$p \'V 4V nVP+4FkwrV\,9d\/RV,4hV\09gK/WP29d \5WV4\7V4P8pV!WV4Km \V9dV PA4V #uup i \:d7pTP=R\7T4P>: RT: RT: 24hRp?ii;i \.dKi;i)rzQuses of super() and __class__ are unsupported in methods of NamedTuple subclassesz3can only inherit from a NamedTuple type and Genericc3D"TFq\Jd\MTxK R#5ir) _NamedTupler)rrs& ryr)NamedTupleMeta.__new__.. sO{2e<s rNzfield annotation must be a typec <\PSV4pV\PP8wd4VP 4UUu/uFwr#V\ VRV R24bK upp#V#uuppi)rr)rucall_annotate_functionrrrPr)rr!rqr)original_annotates& ryr(NamedTupleMeta.__new__..annotate su+BB%v/077>>>,1KKM;,9 SF3%?Y2Z![[,9;; ;s A,c/#rr}rs&ry(NamedTupleMeta.__new__.. sbr|zNon-default namedtuple field z cannot follow default fields rrrz&Cannot overwrite NamedTuple attribute zError calling __set_name__ on z instance z in )!rrr rrrru!get_annotate_from_class_namespacerrrrrrrrrrr classmethod__class_getitem__rP _prohibitedrM_special_fieldsr(r __set_name__ BaseExceptionrr~r>)rtypenamerSnsrr field_namesrr default_names field_namenr class_getitemrqr)set_namerrs&&&& @ryrNamedTupleMeta.__new__ se### b ce eD;&4w+>IKKOOOOO  "()Eu+K+E2H#6#X#XY[#\\ i'>>!#6#=#=#H#HJEu+K||~C!BC& K(H %J$$Z0"? |L>*-m*?? &xh8E(F 1A (F&(&68! e 2M'2='AF $ HCk!$%MPS%STTH$nn,F- #Cy55H c2#( e   $ $ & ;)G() (VDG,   O  B  J (>(VDG,   O CD D fn-wW ! As*DEF F  !!'(1K( x.B5.IRYR[ \B# B I  !(s 7D Dc*\V9gQh\3#r)rErrSs&ry_namedtuple_mro_entriesr% s    >r|c#@"\V4pV\Jd!\V4pV'd V^,pK4R#V\Jd\x\V4wpKWV\Jd\x\V4wpKxV\ Jd\ x\V4wpKR#5iTN)rVrrUrfrbre)annotation_typeannotation_originannotation_argss& ry_get_typeddict_qualifiersr, s &7  )&7O"1!"4 ( *N!)/!: _ + - !)/!: _ ( *N!)/!: _ sBBc8a]tRtRtoRRlt]tRt]tRt Vt R#)riB c  aaaaaaSF-p\V4\JgKV\JgK$\R4h \;QJdRS4F 'gK RM RM !RS44'd \3pMRpVP RR4p\P \V.VO\N5V4o\SR4'gSSn VeRoVoMN\PV4;oe2\PS\PPSR7oMRo/oR oSP4UU u/uFwrV\!V SSSP"R 7bK! up po\%4p \%4p \%4p \%4p SFpVP&P)R \%44pW,p W,p VP&P)R \%44pW,p W,p V P+VP&P)R R44V P+VP&P)RR44K SP4Fwpp\%\-V44p\.V9dRpM\0V9dRpMTpV'd$V P3V4V P5V4M"V P3V4V P5V4\6V9d+VV 9d\RV: R24hV P3V4KV P3V4V P5V4K V P9V 4'gQRV RV : RV : 24hVVVVVV3RlpVSn\=V 4Sn\=V 4Sn \=V 4Sn!\=V 4Sn"VSn#S#uup pi)aCreate a new typed dict class object. This method is called when TypedDict is subclassed, or when TypedDict is instantiated. This way TypedDict supports all three syntax forms described in its docstring. Subclasses and instances of TypedDict return actual dictionaries. zHcannot inherit from both a TypedDict type and a non-TypedDict base classc3B"TFp\V\4xK R#5ir)rr r&s& ryr)_TypedDictMeta.__new__..P s5u!z!W%%usTFrNrrz?TypedDict('Name', {f0: t0, f1: t1, ...}); each t must be a type)rr__required_keys____optional_keys____readonly_keys____mutable_keys__zCannot override mutable key z with read-only keyz,Required keys overlap with optional keys in z: required_keys=z, optional_keys=c </pSFIpV\JdKVPpVfK!\PW0VR7pVP V4KK S es\PS VS R7pV\P P 8wd;VP4UUu/uFwrgV\VS S PR7bK pppM|V\P P 8Xd\PS 4pMGV\P P\P P39dS pM \V4hVP V4V#uuppi)Nrr)r rrurrMrrrPrrrrrry)rr!r base_annotate base_annosownrrerSr own_annotateown_annotationsown_checked_annotationstp_dicts& ryr,_TypedDictMeta.__new__..__annotate__ sDE7? $ 1 1  (0GG!H7  Z(')@@ &A9077>>>&)YY[%0EA;r3w7I7IJJ%0.55<<<)??P/66AACVC]C]CcCcdd-)&11 LL Ls!$Er})$rrr rrrZrrrrrurrrrrPrrrrr/rMrrfrbrdiscardre isdisjointrrrrrr __total__)rr rSrtotalr generic_basens_annotationsrre required_keys optional_keys readonly_keys mutable_keys base_required base_optionalannotation_keyr qualifiers is_requiredrrr"r#r$r%s&&f&& @@@@@ryr_TypedDictMeta.__new__C sDDz/D4G!ABB 35u53335u5 5 5#:LL 148,,~t5J|5JT5JBOw 011%*G "  %L,O1SSTVWWl d1HH188CC7IO L OO)..0# 0 {2s'':L:LM M0#    u D MM--.A35IM  *M  *M MM--.A35IM  *M  *M  !2!23F!K L    1 12Db I J0G/L/L/N +NO6GHJ:%"  *# # !!.1%%n5!!.1%%n5:%!\1#6~6H-.!!.1  0%%n530O6'' 66 :4&A0-!1 3 6   8 ,$-m$<!$-m$<!$-m$<!#,\#: !o# s:%Oc\R4h)z4TypedDict does not support instance and class checksr=)rrfs&&ryru _TypedDictMeta.__subclasscheck__ sNOOr|r}N)T) r~rrrrrrarurprrrs@ryrrB s!{zHP*r|rr*cV\JgVfC^RIpV\JdRpMRpRV RV: R2pRV,R,pVPWFR R 7/pR \V4/p\ 4pVeWR &\ VRWrR 7p \ 3V nV #)aA simple typed namespace. At runtime it is equivalent to a plain dict. TypedDict creates a dictionary type such that a type checker will expect all instances to have a certain set of keys, where each key is associated with a value of a consistent type. This expectation is not checked at runtime. Usage:: >>> class Point2D(TypedDict): ... x: int ... y: int ... label: str ... >>> a: Point2D = {'x': 1, 'y': 2, 'label': 'good'} # OK >>> b: Point2D = {'z': 3, 'label': 'bad'} # Fails type check >>> Point2D(x=1, y=2, label='first') == dict(x=1, y=2, label='first') True The type info can be accessed via the Point2D.__annotations__ dict, and the Point2D.__required_keys__ and Point2D.__optional_keys__ frozensets. TypedDict supports an additional equivalent form:: Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str}) By default, all keys must be present in a TypedDict. It is possible to override this by specifying totality:: class Point2D(TypedDict, total=False): x: int y: int This means that a Point2D TypedDict can have any of the keys omitted. A type checker is only expected to support a literal False or True as the value of the total argument. True is the default, and makes all items defined in the class body be required. The Required and NotRequired special forms can also be used to mark individual keys as being required or not required:: class Point2D(TypedDict): x: int # the "x" key must always be present (Required is the default) y: NotRequired[int] # the "y" key can be omitted See PEP 655 for more details on Required and NotRequired. The ReadOnly special form can be used to mark individual keys as immutable for type checkers:: class DatabaseUser(TypedDict): id: ReadOnly[int] # the "id" key must not be modified username: str # the "username" key can be changed Nrrrz = TypedDict(z, {{}})`z{name} is deprecated and will be disallowed in Python {remove}. To create a TypedDict class with 0 fields using the functional syntax, pass an empty dictionary, e.g. rrrr)r*rvr})r+rrrrrrFr) rrr*rrr r rrtds ""$ ryrFrF snfn Y S I hZ}XL E .     -wW T&\ *B YF !< "b 6B" B Ir|c\3#r) _TypedDictr s&ryrr s:-r|cJ\WP R24p\W34#)aSpecial typing construct to mark a TypedDict key as required. This is mainly useful for total=False TypedDicts. For example:: class Movie(TypedDict, total=False): title: Required[str] year: int m = Movie( title='The Matrix', # typechecker error if key is omitted year=1999, ) There is no runtime checking that a required key is actually provided when instantiating a related TypedDict.  accepts only a single type.rrHrrs&& ryrfrf s'( zjj\1M#N OD w ''r|cJ\WP R24p\W34#)aSpecial typing construct to mark a TypedDict key as potentially missing. For example:: class Movie(TypedDict): title: str year: NotRequired[int] m = Movie( title='The Matrix', # typechecker error if key is omitted year=1999, ) r>r?rs&& ryrbrb8 s' zjj\1M#N OD w ''r|cJ\WP R24p\W34#)aXA special typing construct to mark an item of a TypedDict as read-only. For example:: class Movie(TypedDict): title: ReadOnly[str] year: int def mutate_movie(m: Movie) -> None: m["year"] = 1992 # allowed m["title"] = "The Matrix" # typechecker error There is no runtime checking for this property. r>r?rs&& ryrereK s' zjj\1M#N OD w ''r|cLa]tRtRtoRt]tRtRtRt Rt Rt Rt R t VtR #) r^i_ aNewType creates simple unique types with almost zero runtime overhead. NewType(name, tp) is considered a subtype of tp by static type checkers. At runtime, NewType(name, tp) returns a dummy callable that simply returns its argument. Usage:: UserId = NewType('UserId', int) def name_by_id(user_id: UserId) -> str: ... UserId('user') # Fails type check name_by_id(42) # Fails type check name_by_id(UserId(42)) # OK num = UserId(5) + 1 # type: int cWnRV9dVPR4R,pWnW n\ 4pVR8wd W0nR#R#)rtypingNr)r rpartitionr~ __supertype__rr)rwr redef_mods&&& ryrJNewType.__init__w sF  $;??3'+D ) h %O r|c<aVPo!V3RlR4pV3#)c.<a]tRtRtoV3RltRtVtR#)&NewType.__mro_entries__..Dummyi c H<VPp\RV RV: RS R24h)zGCannot subclass an instance of NewType. Perhaps you were looking for: `z = NewType(rz)`)r~r)r subclass_namesuperclass_names& ryr>8NewType.__mro_entries__..Dummy.__init_subclass__ s: # %k-1B"_DUUWYr|r}N)r~rrrr>rr)rrNs@ryDummyrK s  r|rP)r~)rwrSrPrNs&& @ryrTNewType.__mro_entries__ s!--  xr|c8VP RVP 2#)r)rrrs&ryrNewType.__repr__ s//"!D$5$5#677r|cVP#r)rrs&ryr]NewType.__reduce__ s   r|c\W3,#rrdres&&ryrgNewType.__or__ rir|c\W3,#rrdres&&ryrkNewType.__ror__ rmr|)rr~rrFN)r~rrrrArrarJrTrr]rgrkrrrs@ryr^r^_ s4*H& 8!"""r|ca]tRtRtoRtR,t]]V3RlRl44t]]V3RlRl44t ]V3RlRl4t ]]V3R lR l44t ]V3R lR l4t ]V3R lRl4t ]V3RlRl4t]R-V3RlRll4t]V3RlRl4t]R-V3RlRll4t]R-V3RlRll4t]R.V3RlRll4t]V3RlRl4t]V3RlRl4t]R/V3R lR!ll4t]V3R"lR#l4t]V3R$lR%l4t]V3R&lR'l4t]V3R(lR)l4t]V3R*lR+l4tR,tVtR#)0rIi aGeneric base class for TextIO and BinaryIO. This is an abstract, generic version of the return of open(). NOTE: This does not distinguish between the different possible classes (text vs. binary, read vs. write vs. read/write, append-only, unbuffered). The TextIO and BinaryIO subclasses below capture the distinctions between text vs. binary, which is pervasive in the interface; however we currently do not offer a way to track the other distinctions in the type system. c <V^8dQhRS[/#rr )rrs"ryrIO.__annotate__   c r|cR#rr}rs&rymodeIO.mode  r|c <V^8dQhRS[/#rr )rrs"ryrr\ r]r|cR#rr}rs&ryr IO.name rar|c<V^8dQhRR/#rrNr})rrs"ryrr\   t r|cR#rr}rs&rycloseIO.close rr|c <V^8dQhRS[/#rr)rrs"ryrr\    r|cR#rr}rs&ryclosed IO.closed rar|c <V^8dQhRS[/#rr)rrs"ryrr\ s   r|cR#rr}rs&ryfileno IO.fileno rr|c<V^8dQhRR/#rfr})rrs"ryrr\ rgr|cR#rr}rs&ryflushIO.flush rr|c <V^8dQhRS[/#rr)rrs"ryrr\ rlr|cR#rr}rs&ryisatty IO.isatty rr|c&<V^8dQhRS[RS[/#)rrrrrM)rrs"ryrr\ s  c 6 r|cR#rr})rwrs&&ryreadIO.read rr|c <V^8dQhRS[/#rr)rrs"ryrr\   $ r|cR#rr}rs&ryreadable IO.readable rr|c&<V^8dQhRS[RS[/#)rlimitrr})rrs"ryrr\ s  c 6 r|cR#rr})rwrs&&ryreadline IO.readline rr|c6<V^8dQhRS[RS[S[,/#)rhintr)rrrM)rrs"ryrr\ s  c 4< r|cR#rr})rwrs&&ry readlines IO.readlines rr|c,<V^8dQhRS[RS[RS[/#)roffsetwhencerr)rrs"ryrr\ s"  3  C r|cR#rr})rwrrs&&&ryseekIO.seek rr|c <V^8dQhRS[/#rr)rrs"ryrr\ rr|cR#rr}rs&ryseekable IO.seekable rr|c <V^8dQhRS[/#rr)rrs"ryrr\ r]r|cR#rr}rs&rytellIO.tell rr|Nc4<V^8dQhRS[R,RS[/#)rsizeNrr)rrs"ryrr\ s  S4Z 3 r|cR#rr})rwrs&&rytruncate IO.truncate rr|c <V^8dQhRS[/#rr)rrs"ryrr\ rr|cR#rr}rs&rywritable IO.writable rr|c&<V^8dQhRS[RS[/#rrr)rMr)rrs"ryrr\ s  v # r|cR#rr}rwrs&&rywriteIO.write rr|c4<V^8dQhRS[S[,RR/#)rlinesrN)rrM)rrs"ryrr\ s  V   r|cR#rr})rwrs&&ry writelines IO.writelines rr|c0<V^8dQhRS[S[,/#r)rIrM)rrs"ryrr\s  2f: r|cR#rr}rs&ry __enter__ IO.__enter__ rr|c<V^8dQhRR/#rfr})rrs"ryrr\s  $ r|cR#rr})rwrr tracebacks&&&&ry__exit__ IO.__exit__rr|r})rrr)r~rrrrArrrr_r rirnrrrvrzrrrrrrrrrrrrrrrrs@ryrIrI s I                                              r|c`a]tRtRtoRtRt]V3RlRl4t]V3RlRl4tRt Vt R#) rHiz5Typed version of the return of open() in binary mode.c6<V^8dQhRS[S[,RS[/#r)r bytearrayr)rrs"ryrBinaryIO.__annotate__s   uy( S r|cR#rr}rs&&ryrBinaryIO.write rr|c <V^8dQhRS[/#rrH)rrs"ryrrs  8 r|cR#rr}rs&ryrBinaryIO.__enter__rr|r}N) r~rrrrArrrrrrrs@ryrHrHs3?I    r|ca]tRtRtoRtRt]]V3RlRl44t]]V3RlRl44t ]]V3RlRl44t ]]V3R lR l44t ]]V3R lR l44t ]V3R lRl4t RtVtR#)rLiz3Typed version of the return of open() in text mode.c <V^8dQhRS[/#rr)rrs"ryrTextIO.__annotate__s   r|cR#rr}rs&rybuffer TextIO.bufferrar|c <V^8dQhRS[/#rr )rrs"ryrr"  # r|cR#rr}rs&ryencodingTextIO.encoding rar|c.<V^8dQhRS[R,/#rfr )rrs"ryrr's  d  r|cR#rr}rs&ryerrors TextIO.errors%rar|c <V^8dQhRS[/#rr)rrs"ryrr,s   r|cR#rr}rs&ryline_bufferingTextIO.line_buffering*rar|c <V^8dQhRS[/#r)r)rrs"ryrr1rr|cR#rr}rs&rynewlinesTextIO.newlines/rar|c <V^8dQhRS[/#r)rL)rrs"ryrr5s  6 r|cR#rr}rs&ryrTextIO.__enter__4rr|r}N)r~rrrrArrrrrrrrrrrrs@ryrLrLs=I             r|c$aR5;o3V3RlRlu6#)rc"<V^8dQhRSRS/#)rrrr})rrs"ryrr9sr|cj\R\V4P: 2\PR7V#)aAsk a static type checker to reveal the inferred type of an expression. When a static type checker encounters a call to ``reveal_type()``, it will emit the inferred type of the argument:: x: int = 1 reveal_type(x) Running a static type checker (e.g., mypy) on this example will produce output similar to 'Revealed type is "builtins.int"'. At runtime, the function prints the runtime type of the argument and returns the argument unchanged. zRuntime type is )file)printrr~r-stderrrs"ryrgrg9s* T#Y//2 3#**E Jr|r}) .defaultsrs @ry#r9sr|c6a]tRtRtoV3Rl!4tRtVtR#)_IdentityCallableiLc(<aR5;o3VV3RlRlu6#)rc&<V^8dQhRSZRSZ/#rir})rrrs"ryr_IdentityCallable.__annotate__Ms  q  r|cR#rr}rs""ryra_IdentityCallable.__call__Ms r|r})rrrs @ry 2_IdentityCallable.Ms  r|r}N)r~rrrrarrrs@ryrrLs   r|r eq_default order_defaultkw_only_defaultfrozen_defaultfield_specifierscV^8dQhR\R\R\R\R\\\,\R\3,,R3,R\R\ /#) rrrrrr.rr)rrrrrr)rs"ryrrQsuQQQQ Q  Q DIc(::C?@ QQQr|c (aaaaaaVVVVVV3RlpV#)aDecorator to mark an object as providing dataclass-like behaviour. The decorator can be applied to a function, class, or metaclass. Example usage with a decorator function:: @dataclass_transform() def create_model[T](cls: type[T]) -> type[T]: ... return cls @create_model class CustomerModel: id: int name: str On a base class:: @dataclass_transform() class ModelBase: ... class CustomerModel(ModelBase): id: int name: str On a metaclass:: @dataclass_transform() class ModelMeta(type): ... class ModelBase(metaclass=ModelMeta): ... class CustomerModel(ModelBase): id: int name: str The ``CustomerModel`` classes defined above will be treated by type checkers similarly to classes created with ``@dataclasses.dataclass``. For example, type checkers will assume these classes have ``__init__`` methods that accept ``id`` and ``name``. The arguments to this decorator can be used to customize this behavior: - ``eq_default`` indicates whether the ``eq`` parameter is assumed to be ``True`` or ``False`` if it is omitted by the caller. - ``order_default`` indicates whether the ``order`` parameter is assumed to be True or False if it is omitted by the caller. - ``kw_only_default`` indicates whether the ``kw_only`` parameter is assumed to be True or False if it is omitted by the caller. - ``frozen_default`` indicates whether the ``frozen`` parameter is assumed to be True or False if it is omitted by the caller. - ``field_specifiers`` specifies a static list of supported classes or functions that describe fields, similar to ``dataclasses.field()``. - Arbitrary other keyword arguments are accepted in order to allow for possible future extensions. At runtime, this decorator records its arguments in the ``__dataclass_transform__`` attribute on the decorated object. It has no other runtime effect. See PEP 681 for more details. c .<RSRSRSRSRSRS/VnV#)rrrrrr)__dataclass_transform__) cls_or_fnrrrrrrs&ryr&dataclass_transform..decorators4 * ]  n  0 f - )r|r})rrrrrrrsdddddl ryrRrRQsN   r|_Funcr`c:V^8dQh\R\3,#)r.)rr.formats"ryrrsXc3h r|c,aRRRl6;o3V3RlRlu6#)Fr`c V^8dQh\#r)rrs"ryrrsr|c"<V^8dQhRSRS/#)rmethodrr})rrs"ryrrs  q  r|cFRVnV# \\3dT#i;i)aIndicate that a method is intended to override a method in a base class. Usage:: class Base: def method(self) -> None: pass class Child(Base): @override def method(self) -> None: super().method() When this decorator is applied to a method, the type checker will validate that it overrides a method or attribute with the same name on a base class. This helps prevent bugs that may occur when a base class is changed without an equivalent change to a child class. There is no runtime checking of this property. The decorator attempts to set the ``__override__`` attribute to ``True`` on the decorated object to allow runtime introspection. See PEP 698 for details. T) __override__rMr)rs"ryrdrds62 " M I &  M  rr})rrs @ry rsXX  r|c0V^8dQhR\R\/#rrerr)rs"ryrrsDr|cn\V\4;'d\VRR4;'d V\8g#)zReturn True if the given type is a Protocol. Example:: >>> from typing import Protocol, is_protocol >>> class P(Protocol): ... def a(self) -> str: ... ... b: int >>> is_protocol(P) True >>> is_protocol(int) False rF)rrrvrrds"ryrZrZs: 2t   B .   (Nr|cFV^8dQhR\R\\,/#r )rrr)rs"ryrrs,,T,3,r|cl\V4'g\V: R24h\VP4#)aDReturn the set of members defined in a Protocol. Example:: >>> from typing import Protocol, get_protocol_members >>> class P(Protocol): ... def a(self) -> str: ... ... b: int >>> get_protocol_members(P) == frozenset({'a', 'b'}) True Raise a TypeError for arguments that are not Protocols. z is not a Protocol)rZrrrrds"ryrXrXs1 r??2& 2344 R** ++r|cVR8Xd\PpMVR 9d^RIp\\ W 4^4pMwVR 9d.^RIp\\ VRV 24^V\ R,3R7pMCVR8Xd&^RIpRpVPV\^R7\pM\R\: R V: 24hV\4V&V#) zImprove the import time of the typing module. Soft-deprecated objects which are costly to create are only created on-demand here. rNAbstract)r rh_collect_parameterszThe private _collect_parameters function is deprecated and will be removed in a future version of Python. Any use of private functions is discouraged and may break in the future.r zmodule z has no attribute >rJrK>rr3)rurre_aliasrvrrrrrrrMr~r )rxrrrrrs& ryrzrzs  |!,, % %WR&* : :WZ8D6):;QTUY\`U`Tbc & & ;   l-?A N&wxl2DTHMNNGIdO Jr|rr>rrrrrrrr>rArrrJrrr@r__match_args__rrr__annotate_func__r__abstractmethods____annotations_cache__r)r__main__r) rr-r"r#r/r.r r+rr1r4Buffer)NNFrrr})r}> _maker_asdictr_sourcerJ_replacer__getnewargs___field_defaults>r~rrrrr)rArrrrrcollections.abccopyregrr2r-rr_typingrrrr r r r r rr__all__rqrurrrrrrrrrrrrrrrr+rr'r:rCrr|rrrrar]rir\rrrrrlrrmrnrrSrrrrrrrrr r rrgrrrrrrrrrrorr8_TYPING_INTERNALS_SPECIAL_NAMESrrrrrr rrrrrpicklerrprrurrr rrrr*rrhrPrNrYrOrQrVrUr[rkrOr_r`rzpartialrr|rcrWrQrTrrrrrrrrrrrMrr r-r0r/r.r"r#r4r+rr1rrCrr)r%r'r*r(rrrrrAdequer>rrDr&r$r!r,r?r@rBr=r<rGNoneTyper2rr:r8r7r6r9r5r;rrrrrrErrrrTrrrFr<rfrbrer^rjrkrIrHrLrgrrRrrdrZrXrzr}r|ryr(s((#    u u  u  u   u   u  u u u u u u u  u  u  !u "#u $ %u *+u ,-u ./u 01u 23u 45u 67u 89u :;u <=u >?u @Au BCu DEu FGu H Iu JKu LMu NOu PQu RSu TUu VWu XYu ^_u `au bcu deu fgu hiu jku lmu rsu tuu v wu x yu z{u | }u ~u @ Au BCu DEu FGu HIu NOu P Qu R Su TUu V Wu \ ]u ^_u `au b cu deu fgu hiu j ku lmu nou pqu rsu tuu vwu xyu z{u | }u ~u @Au BCu DEu FGu HIu JKu LMu NOu PQu RSu TUu VWu XYu Z [u \ ]u ^_u `au bcu d eu fgu h iu n,,)*5PU]aB@ 0 ./t/dS>    U> K K 2;< y{< < "&< 6:< NS< ~FF((/6"TGTn  :24w-24j1"lM1"h 9-9-x'T  r]!r]n  2<4*$!$O2!H":!!2!2;!EF&R 3 ! N CL T] T]v&v&4( :T 24t4 5# &  +//**A . ;??,,a 0 ;??,,a 0 {44a8 {44a8 +//**A . +//**A . KOO.. 2 {$$a( ;??,,a 0 KOO.. 2 111 5  [__((!-@ KOO.. 2 ((! , 66: +//**A .88!< $OO7  5"5w7  dAE/{  !'2 S!%e, 9ae+ > [__00!4 +//**A . ;??,,a 0 KOO.. 2  dAE/[,,amD [,,a0 $$a ( +&& * ;??,,a5>>5>>:Z [  66U^^DUV dAE/ 2 (   H   h   H   H       DE  D EJTJZ!*@Dll><R@ 5 ,D*TD*N )QdQf\\.+r2 > 7 ((.(($((&;";"~  ` ` F  r%y    RW  F&  QQ Q" Q ! Q DF QQh   F*,&r|