Jz`fKSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKrSSKJ 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)r N__name__ __module__ __qualname____firstlineno____static_attributes__r$/usr/lib64/python3.13/dataclasses.pyr r s4rr c\rSrSrSrSrg)_HAS_DEFAULT_FACTORY_CLASScg)Nz rselfs r__repr__#_HAS_DEFAULT_FACTORY_CLASS.__repr__srrN)rrrrr$rrrrrrsrrc\rSrSrSrg) _MISSING_TYPErNrrrrr'r'rr'c\rSrSrSrg) _KW_ONLY_TYPErNrrrrr+r+r)rr+c \rSrSrSrSrSrg) _FIELD_BASEcXlgNnamer#r3s r__init___FIELD_BASE.__init__ rcUR$r1r2r"s rr$_FIELD_BASE.__repr__s yyrr2N)rrrrr5r$rrrrr.r.s rr._FIELD_FIELD_CLASSVAR_FIELD_INITVAR__dataclass_fields____dataclass_params__ __post_init__z^(?:\s*(\w+)\s*\.)?\s*(\w+)c*\rSrSrSrSrSrSrSrg)r typecXlgr1rB)r#rCs rr5InitVar.__init__r7rc[UR[5(aURRnO[UR5nSUS3$)Nzdataclasses.InitVar[]) isinstancerCrrepr)r# type_names rr$InitVar.__repr__s@ dii & & **ITYYI%i[22rc[U5$r1)r )clsrCs r__class_getitem__InitVar.__class_getitem__s t}rN) rrrr __slots__r5r$rNrrrrr r sI3rr cN\rSrSrSrSr\"5S5rSr\ "\ 5r Sr g)ri) r3rCdefaultdefault_factoryrIhashinitcomparemetadatakw_only _field_typec SUlSUlXlX lX0lX@lXPlX`lUc[O[R"U5Ul Xl SUl gr1)r3rCrRrSrUrIrTrV_EMPTY_METADATAtypesMappingProxyTyperWrXrY) r#rRrSrUrIrTrVrWrXs rr5Field.__init__!s^   .    $,)//9  rc: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=)) r3rCrRrSrUrIrTrVrWrXrYr"s rr$Field.__repr__1s }% }%<<*+##'#7#7":; }% }% }%<<*+ MM,-<<*+#//0  rcz[[UR5SS5nU(aU"URX5 gg)N __set_name__)getattrrCrR)r#ownerr3funcs rreField.__set_name__Is1tDLL)>4@  u + r) r3rSrTrXrUrWrIrVrYrRrCN) rrrrrPr5rr$re classmethodrrNrrrrrrs7 I   .,$L1rrc$\rSrSrSrSrSrSrg)_DataclassParamsiS rUrIeqorder unsafe_hashfrozen match_argsrXslots weakref_slotc |XlX lX0lX@lXPlX`lXplXlXlXl gr1rm) r#rUrIrnrorprqrrrXrsrts rr5_DataclassParams.__init__`s8   & $  (rc SUR<SUR<SUR<SUR<SUR<SUR <SUR <SUR<S UR<S UR<S 3$) Nz_DataclassParams(init=r`z,eq=z,order=z ,unsafe_hash=z,frozen=z ,match_args=raz,slots=z,weakref_slot=rbrmr"s rr$_DataclassParams.__repr__ns }% }%gg[!'#//23++)"oo01<<*+' $ 1 14  r) rnrorsrprXrUrqrrrIrtN)rrrrrPr5r$rrrrrlrlSs I ) rrlTrRrSrUrIrTrVrWrXc XU[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 ValueErrorrrys rrrs5$g/"@JKK 4t $$rcJ[SU55[SU554$)Nc3n# UH,oR(dMUR(aM(Uv M. g7fr1rUrX.0fs r (_fields_in_init_order..s@vv!aii!!@ 55 5c3n# UH,oR(dMUR(dM(Uv M. g7fr1r~rs rrrs<vv!!))!!  sxx@A:Qqvvh/@AB" EE@s< c6\rSrSrSrS\SSSS.SjrSrSrg) _FuncBuildericV/Ul/UlXl0Ul0Ul0Ulgr1)namessrcglobalslocalsoverwrite_errorsunconditional_adds)r#rs rr5_FuncBuilder.__init__s,   ""$rNF)r return_typeoverwrite_errorunconditional_add decoratorc UbURRU5 U(aX`RU'U(aSURU'URR U5 U[ LaXPRSUS3'SUS3n OSn SRU5nSRU5nURR U(aSUS3OSS US US U S U3 5 g) NT __dataclass__return_type__z->__dataclass_r  z def rrbz: ) rupdaterrrappendr rr) r#r3argsbodyrrrrrreturn_annotations radd_fn_FuncBuilder.add_fns   KK  v & *9 ! !$ ' ,0D # #D ) $ g %?JKK,tfN; <"0n E  " xx~yy  Qyk,rB%vQtfTUVgUhhklpkqrsrc"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)Nrrrrrrzdef __create_fn__(z): z return __create_fn__rFzCannot overwrite attribute z in class Trr)rrrkeyslenrexecrziprrrgetsetattr_set_new_attributer TypeError) r#rMfns_src local_vars return_namestxtnsfnsr3fnalready_exists msg_extra error_msgs radd_fns_to_class_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)rrrrrr) rrrrr5r rrrrrrrrs!%267$tB./rrc@U(a SUSU<SUS3$SUSUSU3$)Nz, __dataclass_builtins_object__.__setattr__(rrb r=r)rqr3value self_names r _field_assignrs?=i[$QRSXRYYZ[[  {!D65' **rcXSURS3nUR[LaRUR(a-URX%'USURSUR3nOURX%'US3nOUR(aNUR[La URnOZUR[LaURX%'URnO,U(a$UR[LaURX%'UnOgUR [ Lag[XRWU5$)N__dataclass_dflt___z() if z+ is __dataclass_HAS_DEFAULT_FACTORY__ else r)r3rSr rUrRrYr<r)rrqrrrs default_namers r _field_initrs 'qvvhb1L' 66%&$5$5G !$~&66(#VVH&E$%&$5$5G !#nB'E 66yyG#')() %'1() %$   }}&  ::rcUR[LaUR[LaSnO9UR[LaSURS3nOUR[LaSnURSURSW3$)Nrz=__dataclass_dflt_rz"=__dataclass_HAS_DEFAULT_FACTORY__z:__dataclass_type_)rRr rSr3)rrRs r _init_paramrPsw  yyG 1 1W < ' !'qvvhb1  ' )6ffX'xr' ;;rc ,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 __dataclass_type_r)!__dataclass_HAS_DEFAULT_FACTORY____dataclass_builtins_object__rc3b# UH&nUR[LdMURv M( g7fr1)rYr<r3rs rr_init_fn..s*B!".!@%affBs//rrrrbz pass*r5)rr)rUrRr rSrr3rC_HAS_DEFAULT_FACTORYobjectrrr_POST_INIT_NAMErr)r std_fieldskw_only_fieldsrq has_post_initr func_builderrs seen_defaultrr body_linesline params_str _init_paramss r_init_fnrcsL S 666II(Q->->'-I "7zB<.s0N!aff0Ns!#} __setattr__)r#r3rz if :z@ raise FrozenInstanceError(f"cannot assign to field {name!r}")z+ super(cls, self).__setattr__(name, value)T)rr __delattr__r4z= raise FrozenInstanceError(f"cannot delete field {name!r}")z$ super(cls, self).__delattr__(name))r rr)rMr rr conditions r_frozen_get_del_attrrs%8:F#I _tyy0Nv0N'NNQTTT  1  1-\FI &(, . (  1-Y?B &(, .rcXRL=(d6 [U5URL=(a URURL$r1)ClassVarrC _GenericAlias __origin__)a_typetypings r _is_classvarrsA oo % :V  4 449%%8;rcXXRL=(d [U5URL$r1)r rCr dataclassess r _is_initvarrs, )) ) 3F|{2224rcXRL$r1)r rs r _is_kw_onlyrs (( ((rcD[RU5nU(GaSnURS5nU(d4[RR UR 5RnO[RR UR 5nU(aQURR U5ULa3[RR UR 5RnU(a-U"UR URS55U5(agg)NTF)_MODULE_IDENTIFIER_REmatchgroupsysmodulesrr__dict__) annotationrMa_moduleris_type_predicaterr module_namemodules r_is_typersR " ' ' 3E kk!n 099B[[__S^^4F&//--k:hF[[__V%6%67@@ #BFF5;;q>$:HEE rc&[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)rRrfield 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 rHrr\MemberDescriptorTyperr3rCr:rYrrrrstrrrr;rrr r<rSrrXrR __class____hash__r{)rMa_namerdefault_kw_onlyrRrrrs r _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 oner__eq__z eq must be true if order is truer#__dataclass_self__ __replace__r$r"z) return f"{self.__class__.__qualname__}(rz={self.z!r}z)"__dataclasses_recursive_reprz@__dataclasses_recursive_repr())rrc3H# UHoR(dMUv M g7fr1)rV)rrs rr!_process_class..XsE}}eeEs" "zself.z==other.z and True)r#otherz if self is other:z return Truez' if other.__class__ is self.__class__:z return z return NotImplementedr%))__lt__<)__le__z<=)__gt__>)__ge__z>=z'Consider using functools.total_ordering)r__doc__z -> Noner__match_args__c36# UHoRv M g7fr1r2rs rrr#s AA Az'weakref_slot is True but slots is False);rrrrr_PARAMSrl__mro__rf_FIELDSvaluesr3rqinspectget_annotationsritemsrrHr rr rrrrrRr delattrrr{rYr:r<rrhasattrrrr_replacerIrrrrVrr _hash_actionboolrr signaturerr,r _add_slotsabcupdate_abstractmethods)-rMrUrIrnrorprqrrrXrsrtr rany_frozen_baseall_frozen_baseshas_dataclass_basesb base_fieldsrcurrent_frozencls_annotations cls_fields KW_ONLY_seenrr3rCr class_hashhas_explicit_hashall_init_fieldsstd_init_fieldskw_only_init_fieldsrr field_listr cmp_fieldsrtermsfield_comparisonsr other_tupleop hash_actiontext_sigs- r_process_classrVs 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==[[ch[U5Vs/sHn[XR5PM sn$s snfr1)r rfr3)r#rs r_dataclass_getstaterXs#+1$< 8aGD&& ! 88 8s/c[[U5U5H%up#[RXRU5 M' gr1)rr rrr3)r#staterrs r_dataclass_setstater[s2F4L%04 4U34rc## URRS5=cR /n[USS5S:waURS5 [USS5S:waURS5 UShvN g=[S`=b un Uv g n[ US 5(d UShvN g[ S URS 35eNQN!7f) NrP__weakrefoffset__rr __weakref____dictrefoffset__rr__next__z Slots of 'z' cannot be determined)rrrfrr r8rr)rMrsslotiterables r _get_slotsrcs ,,  ; ' Es/49 ]+s/49 Z(   SYYJWXz::   j6LMN N  s$A*C,B>-1CC CCc SUR;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$) NrPz already specifies __slots__c36# UHoRv M g7fr1r2rs rr_add_slots..s414r/rr)r^rrr^r __getstate__ __setstate__)rrrdictrr set itertoolschain from_iterablemaprcr1 filterfalse __contains__poprfrC __bases__rrXrgr[rh)rM is_frozenrtcls_dict field_namesinherited_slots field_namequalnames rr=r=sX cll"3<<.(DEFFCLL!H4s 44K%%c*ckk!B6G&HIO "  ( ( OO-2   H["'   Z&'  LLT" LL%sND1H s)CLL#-- :C#  )2C   )2C  JrFrmc N^^^^^^^^^ ^ 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 .> [UTTTTT TTTTT 5 $r1)rV) rMrnrqrUrXrrrorIrsrprts rwrapdataclass..wraps(c4r5+$j'5*, ,rr) rMrUrIrnrorprqrrrXrsrtr{s `````````` rrrs&",,  {  9rc[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 instanceNc3L# UHoR[LdMUv M g7fr1)rYr:rs rrfields..,sGq}}/FGs$ $)rfr2AttributeErrorrrr3)class_or_instancer s rr r sPV*G4 GFMMOG GG VJKQUUVs 2A c4[[U5[5$)z2Returns True if obj is an instance of a dataclass.)r8rCr2)objs r_is_dataclass_instancer/s 49g &&rcf[U[5(aUO [U5n[U[5$)zAReturns True if obj is a dataclass or an instance of a dataclass.)rHrCr8r2)rrMs 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)rrs rrr;s&& "# & &JKK  ++rc 8^[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 g7fr1rrvrs rr _asdict_inner..sHqM!\::HrSc3V># UHup[UT5[UT54v M! g7fr1r)rkrrs rrrs01 A'q,7&q,791&)c3:># UHn[UT5v M g7fr1rrs rrrsD1 a66Dr)rC _ATOMIC_TYPESr8r2rir r3rrflistr6r issubclassrScopydeepcopy)rrobj_typerrrresults ` 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_factorycN[U5(d [S5e[X5$)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)rrs rrrs&& "# & &KLL # --rc @^[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)Nrc3:># UHn[UT5v M g7fr1r)rrrs rr!_astuple_inner..sGa=99GrrSc3V># UHup[UT5[UT54v M! g7fr1r)rrrrs rrrs-3"a(=9>!];[\3r)rCrrr rrfr3rHrr8rrir6rr)rrrrrrrs ` rrrsf CyM!  $ $C[  73/ ?    C  GC$;$;CySI>!];IJJ C$ ' 'CyG3GGG C  9 8. / /gc+<=>F  \;I!];[~a78 \M3&)iik33 3}}S!!; Js (FFr) bases namespacerUrIrnrorprqrrrXrsrtrc v^^^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.AnyrzInvalid field: z'Field names must be valid identifiers: z"Field names must not be keywords: zField name duplicated: cT>URT5 URT5 TUS'g)N__annotations__)r)r annotationsdefaultsrs rexec_body_callback*make_dataclass..exec_body_callbacks& ) ( + rr__main__rrm)rjrHr rr isidentifierkeyword iskeywordaddr\ new_classr_getframemodulenamer _getframe f_globalsrr{rr)cls_namer rrrUrIrnrorprqrrrXrsrtrseenitemr3tpspecrrMrrs ` @@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 P[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)rrr9)rchangess rrr-s+ "# & &KLL C #7 ##rc [U[5R5HnUR[LaMUR (d+UR U;a[SUR S35eMTUR U;dMfUR[La-UR[La[SUR <S35e[XR 5XR 'M UR"S0UD6$)Nr zC is declared with init=False, it cannot be specified with replace()zInitVar z! must be specified with replace()r) rfr2r3rYr;rUr3rr<rRr r )r#rrs rr9r9@sT7 # * * ,4 ==O + vvvv &1,!-..  66 }}.1993G(166*5C!DEE%dFF3GFFO#40 >> $G $$rr1)Xrerrr\r4rrkr>reprlibrrr__all__rr rrr'r r+r r]r[r.r:r;r<r2r0rcompiler frozensetNoneTyper;intfloatr complexbytes EllipsisTypeNotImplementedTypeCodeTypeBuiltinFunctionTyperCrangepropertyrr rrlrrrrrrrrrrrrrrrrrrr:rVrXr[rcr=rr rrrirrrrrrrr9rrrrs+  ", |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