Jz`fKcsSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKJ r SSKJ r J r /SQr "SS\ 5r"SS5r\"5r"S S 5r\"5r"S S 5r\"5r\R*"05r"S S5r\"S5r\"S5r\"S5rSrSrSr\R<"S5r\ "\RB\"\#\$\%\&\'\RP\RR\RT\RV\R\,\-\.15r/"SS5r0"SS5r1"SS5r2\\SSSSS\S.Sjr3Sr4S r5"S!S"5r6S#r7S$r8S%r9S&r:S'r;S(rS+r?S,r@S-rAS.rBS/rCS0rD0S1S_S2S_S3S_S4S_S5\B_S6S_S7\C_S8S_S9\C_S:\D_S;\C_S<\D_S=\C_S>\D_S?\C_S@\D_rESArFSBrGSCrHSDrISErJSWSSSSFSFSFSSFSFSFSG. SHjjrKSIrLSJrMSKrN\OSL.SMjrPSNrQ\RSO.SPjrSSQrTSRSSSSSFSFSFSSFSFSFSSS. STjrUSUrVSVrWg)XN)recursive_repr) FunctionType GenericAlias) dataclassfieldFieldFrozenInstanceErrorInitVarKW_ONLYMISSINGfieldsasdictastuplemake_dataclassreplace is_dataclassc\rSrSrSrg)riN__name__ __module__ __qualname____firstlineno____static_attributes__r$/usr/lib64/python3.13/dataclasses.pyrrs4rrcs\rSrSrSrSrg)_HAS_DEFAULT_FACTORY_CLASSicsg)Nz rself r__repr__Z#_HAS_DEFAULT_FACTORY_CLASS.__repr__srrN)rrrrrrrrrrrsrrcr) _MISSING_TYPEirNrrrrr r rr cr) _KW_ONLY_TYPEirNrrrrr"r"r!rr"cs \rSrSrSrSrSrg) _FIELD_BASEicXlgNnamerr' r__init__Z_FIELD_BASE.__init__ rcsUR$r%r&rrrrZ_FIELD_BASE.__repr__s yyrr&N)rrrrr*rrrrrr#r#s rr#_FIELD_FIELD_CLASSVAR_FIELD_INITVARZ__dataclass_fields__Z__dataclass_params__Z __post_init__z^(?:\s*(\w+)\s*\.)?\s*(\w+)cs*\rSrSrSrSrSrSrSrg)ritypecr$r%r/)rr0r)rr*ZInitVar.__init__r+rcs[UR[5(aURRnO[UR5nSUS3$)Nzdataclasses.InitVar[Z]) isinstancer0rrepr)rZ type_namer)rrZInitVar.__repr__s@ dii & & **ITYYI%i[22rcs[U5$r%)r)clsr0r)r__class_getitem__ZInitVar.__class_getitem__s t}rN) rrrr __slots__r*rr4rrrrrrsI3rrcsN\rSrSrSrSr\"5S5rSr\ "\ 5r Sr g)ri) r'r0defaultdefault_factoryr2hashinitcomparemetadatakw_only _field_typec sSUlSUlXlX lX0lX@lXPlX`lUc[O[R"U5Ul Xl SUl gr%)r'r0r6r7r9r2r8r:_EMPTY_METADATAtypesMappingProxyTyper;r<r=) rr6r7r9r2r8r:r;r< rr*ZField.__init__!s^   .    $,)//9  rcs:SUR<SUR<SUR<SUR<SUR<SUR <SUR <SUR<S UR<S UR<S URS 3$) Nz Field(name=z,type=z ,default=z,default_factory=z,init=,repr=z,hash=z ,compare=z ,metadata= ,kw_only=z ,_field_type=)) r'r0r6r7r9r2r8r:r;r<r=rrrrZField.__repr__1s }% }%<<*+##'#7#7":; }% }% }%<<*+ MM,-<<*+#//0  rcsz[[UR5SS5nU(aU"URX5 gg)N __set_name__)getattrr0r6)rZownerr'Zfunc rrEZField.__set_name__Is1tDLL)>4@  u + r) r'r7r8r<r9r;r2r:r=r6r0N) rrrrr5r*rrrEZ classmethodrr4rrrrrrs7 I   .,$L1rrcs$\rSrSrSrSrSrSrg)_DataclassParamsiS r9r2eqorder unsafe_hashfrozen match_argsr<slots weakref_slotc s|XlX lX0lX@lXPlX`lXplXlXlXl gr%rI) rr9r2rJrKrLrMrNr<rOrPs rr*Z_DataclassParams.__init__`s8   & $  (rcs SUR<SUR<SUR<SUR<SUR<SUR <SUR <SUR<S UR<S UR<S 3$) Nz_DataclassParams(init=rBz,eq=z,order=z ,unsafe_hash=z,frozen=z ,match_args=rCz,slots=z,weakref_slot=rDrIrrrrZ_DataclassParams.__repr__ns }% }%gg[!'#//23++)"oo01<<*+' $ 1 14  r) rJrKrOrLr<r9rMrNr2rPN)rrrrr5r*rrrrrrHrHSs I ) rrHTr6r7r9r2r8r:r;r<c sXU[LaU[La [S5e[XX#XEXg5$)aReturn an object to identify dataclass fields. default is the default value of the field. default_factory is a 0-argument function called to initialize a field's value. If init is true, the field will be a parameter to the class's __init__() function. If repr is true, the field will be included in the object's repr(). If hash is true, the field will be included in the object's hash(). If compare is true, the field will be used in comparison functions. metadata, if specified, must be a mapping which is stored but not otherwise examined by dataclass. If kw_only is true, the field will become a keyword-only parameter to __init__(). It is an error to specify both default and default_factory. z/cannot specify both default and default_factory)r ValueErrorrrQ rrrs5$g/"@JKK 4t $$rcsJ[SU55[SU554$)Nc3sn# UH,oR(dMUR(aM(Uv M. g7fr%r9r<.0fr)r (_fields_in_init_order..s@vv!aii!!@ 55 5c3sn# UH,oR(dMUR(dM(Uv M. g7fr%rTrUr)rrXrYs<vv!!))!!  sxx@A:Qqvvh/@AB" EE@s< cs6\rSrSrSrS\SSSS.SjrSrSrg) _FuncBuildericsV/Ul/UlXl0Ul0Ul0Ulgr%)namessrcglobalslocalsoverwrite_errorsunconditional_adds)rrhr)rr*Z_FuncBuilder.__init__s,   ""$rNF)ri return_typeoverwrite_errorunconditional_add decoratorc sUbURRU5 U(aX`RU'U(aSURU'URR U5 U[ LaXPRSUS3'SUS3n OSn SRU5nSRU5nURR U(aSUS3OSS US US U S U3 5 g) NTZ __dataclass_Z_return_type__z->__dataclass_r_  z def r^rDz: ) riupdaterjrkrfappendr rbrg) rr'ZargsZbodyrirlrmrnroZreturn_annotations radd_fnZ_FuncBuilder.add_fns   KK  v & *9 ! !$ ' ,0D # #D ) $ g %?JKK,tfN; <"0n E  " xx~yy  Qyk,rB%vQtfTUVgUhhklpkqrsrcs"SRUR5nSRURR55n[ UR 5S:XaSnOSSRUR 5S3nSUSUS U3n0n[ XPRU5 US "S0URD6n[UR U5HupURS U R3U l URRUS 5(a[XU 5 MT[XU 5n U (dMiURRU5=n (dMS U RSUR3n U SLaU SU 3n [!U 5e g)Nrqr_rr]r^razdef __create_fn__(z): z return Z __create_fn__r`FzCannot overwrite attribute z in class Trrr)rbrgriZkeyslenrfZexecrhziprrrkgetsetattr_set_new_attributerj TypeError) rr3Zfns_srcZ local_varsZ return_namesZtxtnsZfnsr'ZfnZalready_existsZ msg_extraZ error_msgs radd_fns_to_classZ_FuncBuilder.add_fns_to_classsw))DHH%XXdkk..01  tzz?a Lsxx 34B7L#:,d7):l^T  S,,#!0DKK0DJJ, /HD!$!1!1 2!BKK=ABO&&**4772&!3Cr!B">D4I4I4M4Md4S'Sy'S#>r{{mL--0\\N" #I.. /r)rgrkrfrhrjri) rrrrr*r rur}rrrrreres!%267$tB./rrecs@U(a SUSU<SUS3$SUSUSU3$)Nz, __dataclass_builtins_object__.__setattr__(r_rD r`Z=r)rMr'value self_namerGr _field_assignrs?=i[$QRSXRYYZ[[  {!D65' **rcsXSURS3nUR[LaRUR(a-URX%'USURSUR3nOURX%'US3nOUR(aNUR[La URnOZUR[LaURX%'URnO,U(a$UR[LaURX%'UnOgUR [ Lag[XRWU5$)NZ__dataclass_dflt___z() if z+ is __dataclass_HAS_DEFAULT_FACTORY__ else r])r'r7r r9r6r=r.r)rWrMrhrrOZ default_namers r _field_initrs 'qvvhb1L' 66%&$5$5G !$~&66(#VVH&E$%&$5$5G !#nB'E 66yyG#')() %'1() %$   }}&  ::rcsUR[LaUR[LaSnO9UR[LaSURS3nOUR[LaSnURSURSW3$)Nrpz=__dataclass_dflt_rz"=__dataclass_HAS_DEFAULT_FACTORY__z:__dataclass_type_)r6r r7r')rWr6r)r _init_paramrPsw  yyG 1 1W < ' !'qvvhb1  ' )6ffX'xr' ;;rc s,SnUHnn U R(dMU R[LaU R[LdU nM@U(dMI[ SU R <SUR <35e 0UV s0sHn SU R S3U R _M sn E[[S.En /n UH*n [XXU5n U (dMU RU 5 M, U(a7SRSU55n U RSUS [S U S 35 U (dS /n UV s/sHn [U 5PM nn U(a#US /- nXV s/sHn [U 5PM sn - nURSU/U-U U SS9 gs sn fs sn fs sn f)Nznon-default argument z follows default argument Z__dataclass_type_r)Z!__dataclass_HAS_DEFAULT_FACTORY__Z__dataclass_builtins_object__r_c3sb# UH&nUR[LdMURv M( g7fr%)r=r.r'rUr)rrXZ_init_fn..s*B!".!@%affBs//r~r`r^rDz passZ*r*)rirl)r9r6r r7r{r'r0_HAS_DEFAULT_FACTORYobjectrrtrb_POST_INIT_NAMErru)r Z std_fieldsZkw_only_fieldsrM has_post_initr func_builderrOZ seen_defaultrWriZ body_linesZlineZ params_strZ _init_paramss r_init_fnrcsL S 666II(Q->->'-I "7zB<.s0N!aff0Ns!#Z} __setattr__)rr'rz if Z:z@ raise FrozenInstanceError(f"cannot assign to field {name!r}")z+ super(cls, self).__setattr__(name, value)T)rirmZ __delattr__r(z= raise FrozenInstanceError(f"cannot delete field {name!r}")z$ super(cls, self).__delattr__(name))rrbru)r3r rriZ conditions r_frozen_get_del_attrrs%8:F#I _tyy0Nv0N'NNQTTT  1  1-\FI &(, . (  1-Y?B &(, .rcsXRL=(d6 [U5URL=(a URURL$r%)ClassVarr0Z _GenericAliasZ __origin__)a_typetypingr)r _is_classvarrsA oo % :V  4 449%%8;rcsXXRL=(d [U5URL$r%)rr0r dataclassesr)r _is_initvarrs, )) ) 3F|{2224rcsXRL$r%)r rr)r _is_kw_onlyrs (( ((rcsD[RU5nU(GaSnURS5nU(d4[RR UR 5RnO[RR UR 5nU(aQURR U5ULa3[RR UR 5RnU(a-U"UR URS55U5(agg)NTF)_MODULE_IDENTIFIER_REmatchZgroupsysmodulesrxr__dict__) Z annotationr3Za_modulerZis_type_predicaterr|Z module_namemodulerAr_is_typersR " ' ' 3E kk!n 099B[[__S^^4F&//--k:hF[[__V%6%67@@ #BFF5;;q>$:HEE rcs&[X[5n[U[5(aUnO.[U[R 5(a[n[ US9nXlX%l[Ul [RRS5nU(ae[X&5(dJ[UR[5(a6[!URXUR"[5(a [$Ul UR[La|[R[&n[)X'5(dJ[UR[5(a6[!URXUR*[(5(a [,Ul UR[$[,4;a,UR.[La[1SURS35eUR[[,4;aUR2[LaX5lO,UR2[La[1SURS35eUR[LaPUR4R6R8c/[;S[UR45SURS35eU$) N)r6rfield z cannot have a default factoryz$ is a ClassVar but specifies kw_onlyzmutable default z for field z$ is not allowed: use default_factory)rFr r1rr?ZMemberDescriptorTyperr'r0r,r=rrrxrstrrrr-rrrr.r7r{r<r6 __class____hash__rR)r3Za_namerZdefault_kw_onlyr6rWrrrSr _get_fieldrsc7+G'5!!  gu99 : :G ' "F F AM [[__X &F  ( (1663''QVVS&//)+++AM }}kk(+  , ,1663''QVVS{7J7J(***AM }}.99  G +fQVVH-../ / }}00 99 'I 99G #fQVVH-&&' '  }}199#6#6#?#?#G+DO+[)UUUUR*["5(aU(a[-U<S35eSnSnMjUR/[1UUUU55 M UHnUU UR'[%[UURS5[25(dM>UR4[6La[9UUR5 Mi[ UURUR45 M URR!5H2unn[%U[25(dMUU;dM%[-U<S35e U(a0U (aU(d [-S5eUSLaU(a [-S5e[ U[U 5 URR;S [65nU=(d USL=(a S UR;(+nU(aU(d [=S 5eU R5Vs/sH!nUR>[@[B4;dMUPM# nn[EU5unn[GU 5n U(a*[IU[J5n![MUUUUU!S U ;aS OS U U 5 [OUS[P5 U R5Vs/sHnUR>[@LdMUPM n"nU(a}U"Vs/sHnURR(dMUPM n#nU RUSSSSRWU#Vs/sHnURSURS3PM! sn5-S-/S[X0SS9 U(aiSU"5n$U$V%s/sHn%SU%RSU%R3PM! n&n%SRWU&5=(d Sn'U RUS SSS S!S"U'3S#/5 U(adU"Vs/sHnURZ(dMUPM n#n[]S U#5n([]S$U#5n)S%H"unn*U RUUSS!S"U(U*U)3S#/S&S'9 M$ U(a [_UU"U 5 [`[cU5[cU5[cU5U4n+U+(aU+"UU"U 5Ul2U RgU5 [US(5(dD['[Rh"U55RkS)S*5n,URU,-Ul6U(a[OUS+[oS,U555 U (aU (d [-S-5eU (a [qXU 5n[rRt"U5 U$s snfs snfs snfs snfs sn%fs snf![,[<4a S*n,Nf=f).NFrTz3 is KW_ONLY, but KW_ONLY has already been specifiedz& is a field but has no type annotationz5cannot inherit non-frozen dataclass from a frozen onez5cannot inherit frozen dataclass from a non-frozen onerZ__eq__z eq must be true if order is truerZ__dataclass_self__Z __replace__rrz) return f"{self.__class__.__qualname__}(rz={self.z!r}z)"Z__dataclasses_recursive_reprz@__dataclasses_recursive_repr())riroc3sH# UHoR(dMUv M g7fr%)r:)rVrr)rrX!_process_class..XsE}}eeEs" "zself.z==other.z and ZTrue)rotherz if self is other:z return Truez' if other.__class__ is self.__class__:z return z return NotImplementedr))Z__lt__Z<)Z__le__z<=)Z__gt__Z>)Z__ge__z>=z'Consider using functools.total_ordering)rm__doc__z -> NonerpZ__match_args__c36# UHoRv M g7fr%r&rUr)rrXrs AA Az'weakref_slot is True but slots is False);rrrrry_PARAMSrH__mro__rF_FIELDSvaluesr'rMinspectZget_annotationsritemsrr1rrr r{rtrrr6r ZdelattrrxrRr=r,r.r\rehasattrrrrz_replacer2rurbrr:rdr _hash_actionboolrr}Z signaturerrr[ _add_slotsabcZupdate_abstractmethods)-r3r9r2rJrKrLrMrNr<rOrPr rhZany_frozen_baseZall_frozen_basesZhas_dataclass_basesZbZ base_fieldsrWZcurrent_frozenZcls_annotationsZ cls_fieldsZ KW_ONLY_seenrr'r0rZ class_hashZhas_explicit_hashZall_init_fieldsZstd_init_fieldsZkw_only_init_fieldsrrZ field_listrZ cmp_fieldsrZtermsZfield_comparisonsrZ other_tupleZopZ hash_actionZtext_sigs- r_process_classrs F ~~$++cnn-66 C*4r+6+5+0@AO [[Ab ! @a$/  ""&  '') #!"qvv #'#' $Q077N/BN -?O @.--c2O JL++h'K%++-D d k * *4%%T3 [5H5H(**4(+=!=>>LG   jdD'B CD"0qvv gc16640% 8 8yyG#QVV$QVVQYY/#0(||))+O e eU # #DO,Cth&LMN NO  6)* * u $-. .  C&!!!*g6J'72O(D0MX5MP  R;<< #)--/EQ--FN+CCEOE2/B_(L _5  $*06)9% sM84$]]_H 0G!HJH %0a00J%H!YY15(7,-,-66((166($(G(788:>?@%CN#S&G  I FE GQRe5 HUZZL9RR#LL/96H-3.G)*;)<=7 9 : %3a33-  $/  WHD"   -G)*bT+G79-V  W W S*l;tK0#Bx#F|0 12K"3 LA !!#& 3 " " 7,,S12:::rJH||h. 3 0 A AA CEABB l3s# JgE:I1(7S4R:& H sN(Z Z>Z$Z$+Z)Z)(%Z.8%Z3Z87Z84/Z==[[csh[U5Vs/sHn[XR5PM sn$s snfr%)r rFr')rrWr)r_dataclass_getstaters#+1$< 8aGD&& ! 88 8s/cs[[U5U5H%up#[RXRU5 M' gr%)rwr rrr')rZstaterrrGr_dataclass_setstaters2F4L%04 4U34rc#s# URRS5=cR /n[USS5S:waURS5 [USS5S:waURS5 UShvN g=[S`=b un Uv g n[ US 5(d UShvN g[ S URS 35eNQN!7f) Nr5Z__weakrefoffset__rr __weakref__Z__dictrefoffset__rrZ__next__z Slots of 'z' cannot be determined)rrxrFrtrrr{r)r3rOZslotZiterablerGr _get_slotsrs ,,  ; ' Es/49 ]+s/49 Z(   SYYJWXz::   j6LMN N  s$A*C,B>-1CC CCc sSUR;a[URS35e[UR5n[ S[ U555n[ [RR[[URSS555n[ [R"UR[R"XB(aSOS555US'UHnURUS5 M URSS5 URS S5 [!US S5n[#U5"URUR$U5nUbXplU(a"S U;a [(UlS U;a [,UlU$) Nr5z already specifies __slots__c3rr%r&rUr)rrXZ_add_slots..s414rrr)rrrrr __getstate__ __setstate__)rr{rdictr[r set itertoolsZchainZ from_iterableZmaprrZ filterfalseZ __contains__ZpoprFr0Z __bases__rrrrr)r3Z is_frozenrPZcls_dictZ field_namesZinherited_slotsZ field_nameZqualnamerSrrrsX cll"3<<.(DEFFCLL!H4s 44K%%c*ckk!B6G&HIO "  ( ( OO-2   H["'   Z&'  LLT" LL%sND1H s)CLL#-- :C#  )2C   )2C  JrFrIc sN^^^^^^^^^ ^ UUUUUUUU UU 4 Sjn UcU $U "U5$)a^Add dunder methods based on the fields defined in the class. Examines PEP 526 __annotations__ to determine fields. If init is true, an __init__() method is added to the class. If repr is true, a __repr__() method is added. If order is true, rich comparison dunder methods are added. If unsafe_hash is true, a __hash__() method is added. If frozen is true, fields may not be assigned to after instance creation. If match_args is true, the __match_args__ tuple is added. If kw_only is true, then by default all fields are keyword-only. If slots is true, a new class with a __slots__ attribute is returned. c s.> [UTTTTT TTTTT 5 $r%)r) r3rJrMr9r<rNrKr2rOrLrPs rwrapZdataclass..wraps(c4r5+$j'5*, ,rr) r3r9r2rJrKrLrMrNr<rOrPrs `````````` rrrs&",,  {  9rcs[U[5n[ SUR 555$![a [S5Sef=f)zReturn a tuple describing the fields of this dataclass. Accepts a dataclass or an instance of one. Tuple elements are of type Field. z0must be called with a dataclass type or instanceNc3sL# UHoR[LdMUv M g7fr%)r=r,rUr)rrXZfields..,sGq}}/FGs$ $)rFrAttributeErrorr{r[r)Zclass_or_instancer r)rr r sPV*G4 GFMMOG GG VJKQUUVs 2A cs4[[U5[5$)z2Returns True if obj is an instance of a dataclass.)rr0r)objrr_is_dataclass_instancer/s 49g &&rcsf[U[5(aUO [U5n[U[5$)zAReturns True if obj is a dataclass or an instance of a dataclass.)r1r0rr)rr3r)rrr4s(C&&#DIC 3  r) dict_factorycN[U5(d [S5e[X5$)aReturn the fields of a dataclass instance as a new dictionary mapping field names to field values. Example usage:: @dataclass class C: x: int y: int c = C(1, 2) assert asdict(c) == {'x': 1, 'y': 2} If given, 'dict_factory' will be used instead of built-in dict. The function applies recursively to field values that are dataclass instances. This will also look into built-in containers: tuples, lists, and dicts. Other objects are copied with 'copy.deepcopy()'. z0asdict() should be called on dataclass instances)rr{ _asdict_inner)rrr)rr r ;s&& "# & &JKK  ++rc s8^[U5nU[;aU$[U[5(aT[LaG[ U5Vs0sH1nUR [[XR 5[5_M3 sn$T"[ U5Vs/sH.nUR [[XR 5T54PM0 sn5$U[LaUVs/sHn[UT5PM sn$U[La9UR5VVs0sHupT[UT5[UT5_M snn$U[La%[UVs/sHn[UT5PM sn5$[U[5(aB[US5(aU"UVs/sHn[UT5PM sn6$U"U4SjU55$[U[5(aw[US5(aFU"UR5nUR5HupT[UT5U[UT5'M U$U"U4SjUR555$[U[5(aU"U4SjU55$[R"U5$s snfs snfs snfs snnfs snfs snf)N_fieldsc3:># UHn[UT5v M g7fr%rrVvr rrX _asdict_inner..sHqM!\::Hr7c3V># UHup[UT5[UT54v M! g7fr%r)rVkrr rrXrs01 A'q,7&q,791&)c3rr%rrrrrXrsD1 a66Dr)r0 _ATOMIC_TYPESrrrr r'rrFlistrr[Z issubclassr7copydeepcopy)rrobj_typerWrrresult ` rrrSsRCyH=  7 # # 4   gc66&:DAA   !wsFF';\JK!  T 8;<1 a.<< T    !\ *M!\,J J   U cBmA|4BCC He $ $ 3 " "&cJmA|<JK KHCHH H Hd # # 8. / /c112F  X9Fq,9W}Q 56 XM1$'IIK11 1 Hd # #DDDD}}S!!u ! = C*Ks$7I= 4JJ "J J J) tuple_factorycr)aReturn the fields of a dataclass instance as a new tuple of field values. Example usage:: @dataclass class C: x: int y: int c = C(1, 2) assert astuple(c) == (1, 2) If given, 'tuple_factory' will be used instead of built-in tuple. The function applies recursively to field values that are dataclass instances. This will also look into built-in containers: tuples, lists, and dicts. Other objects are copied with 'copy.deepcopy()'. z1astuple() should be called on dataclass instances)rr{_astuple_inner)rrr)rr r s&& "# & &KLL # --rc s@^[U5[;aU$[U5(a>T"[U5Vs/sH"n[ [ XR 5T5PM$ sn5$[U[5(a9[US5(a([U5"UVs/sHn[ UT5PM sn6$[U[[45(a[U5"U4SjU55$[U[5(a[U5n[US5(aFU"[ US55nUR5Hupc[ UT5U[ UT5'M U$U"U4SjUR555$[R"U5$s snfs snf)Nrc3rr%r)rVrrrrrX!_astuple_inner..sGa=99Grr7c3rr%r)rVrrrrrrXrs-3"a(=9>!];[\3r)r0rrr rrFr'r1r[rrrrrr)rrrWrrrrrrrrsf CyM!  $ $C[  73/ ?    C  GC$;$;CySI>!];IJJ C$ ' 'CyG3GGG C  9 8. / /gc+<=>F  \;I!];[~a78 \M3&)iik33 3}}S!!; Js (FFr) bases namespacer9r2rJrKrLrMrNr<rOrPrc sv^^^Tc0m[5n0m0mUHn[U[5(aUnSnO?[U5S:XaUunnO*[U5S:Xa UunnnUTU'O[ SU<35e[U[5(aUR 5(d[ SU<35e[ R"U5(a[ SU<35eUU;a[ SU<35eURU5 UTU'M UUU4Sjn[R"X0U5nUc [R"S 5=(d S nUbUUl['UXEXgXXU U S 9 $![aK [R"S 5RR!S S 5nNV![["4a Nif=ff=f) a?Return a new dynamically created dataclass. The dataclass name will be 'cls_name'. 'fields' is an iterable of either (name), (name, type) or (name, type, Field) objects. If type is omitted, use the string 'typing.Any'. Field objects are created by the equivalent of calling 'field(name, type [, Field-info])'.:: C = make_dataclass('C', ['x', ('y', int), ('z', int, field(init=False))], bases=(Base,)) is equivalent to:: @dataclass class C(Base): x: 'typing.Any' y: int z: int = field(init=False) For the bases and namespace parameters, see the builtin type() function. The parameters init, repr, eq, order, unsafe_hash, frozen, match_args, kw_only, slots, and weakref_slot are passed to dataclass(). If module parameter is defined, the '__module__' attribute of the dataclass is set to that value. z typing.AnyrizInvalid field: z'Field names must be valid identifiers: z"Field names must not be keywords: zField name duplicated: csT>URT5 URT5 TUS'g)NZ__annotations__)rs)r| annotationsdefaultsrs rexec_body_callbackZ*make_dataclass..exec_body_callbacks& ) ( + rrZ__main__rrI)rr1rrvr{Z isidentifierkeywordZ iskeywordZaddr?Z new_classrZ_getframemodulenamerZ _getframeZ f_globalsrxrRrr)Zcls_namer rrr9r2rJrKrLrMrNr<rOrPrZseenZitemr'ZtpZspecrr3rrs ` @@rrrs<  5DKH dC DB Y!^ID" Y!^!ND"d!HTNodX67 7$$$D,=,=,?,?EdXNO O   T " "@IJ J 4<5dX>? ?  D)., //(2/A BC~ ,,Q/=:F  St2!, *5". 00  q)3377 JO"J/   s*+E## F8.0F  F40F83F44F8c sP[U5(d [S5e[U40UD6$)aReturn a new object replacing specified fields with new values. This is especially useful for frozen classes. Example usage:: @dataclass(frozen=True) class C: x: int y: int c = C(1, 2) c1 = replace(c, x=3) assert c1.x == 3 and c1.y == 2 z1replace() should be called on dataclass instances)rr{r)rchangesr)rrr-s+ "# & &KLL C #7 ##rc s[U[5R5HnUR[LaMUR (d+UR U;a[SUR S35eMTUR U;dMfUR[La-UR[La[SUR <S35e[XR 5XR 'M UR"S0UD6$)NrzC is declared with init=False, it cannot be specified with replace()zInitVar z! must be specified with replace()r) rFrrr=r-r9r'r{r.r6r r)rrrWrcrrr@sT7 # * * ,4 ==O + vvvv &1,!-..  66 }}.1993G(166*5C!DEE%dFF3GFFO#40 >> $G $$rr%)XZrerrr?rrrrZreprlibrrrZ__all__rrrrr r r"r r@r>r#r,r-r.rrrZcompilerZ frozensetZNoneTyperZintZfloatrZcomplexZbytesZ EllipsisTypeZNotImplementedTypeZCodeTypeZBuiltinFunctionTyper0ZrangeZpropertyrrrrHrr\rdrerrrrrrrrrrrzrrrrrrrrrrr rrrr rr[r rrrrrrrrs+  ", |0./ 23  /  /((, X /0-. ! !"  #AB NN      NN    % ,6=2=2@''ZgDtTD'$0 FX/X/v +9;x<&7*t..;4 )8v_ B00,d,d,d-d-n  -d  -i -d-i-o-i-o-i-o-i-o *}H94 O.4n4dt5$5u>H$' !!%,0A"H#(.0!"H/1DtUD%u %dW0t$&%r