+
    }iI                        R t ^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RIH	t	H
t
HtHtHtHtHtHt ^ RIHt ^ RIHtHt ^RIHtHtHtHtHt ^RIHt ^RIHt ^R	I H!t! ^R
I"H#t# ^RI$H%t%H&t&H't' ]	'       d   ^RI(H)t) ^RI*H+t+ R3t,]! R4      t-]P\                  R48  dv   ]! ]P^                  ]%]'3R7      ]RRRRRRRRRRRRRRRRRRRR/
R R ll4       4       t0]! ]P^                  ]%]'3R7      ]RRRRRRRRRRRRRRRRRRRR/
R R  ll4       4       t0Ml]! ]P^                  ]%]'3R7      ]RRRRRRRRRRRRRRRR/R! R" ll4       4       t0]! ]P^                  ]%]'3R7      ]RRRRRRRRRRRRRRRR/R# R$ ll4       4       t0]! ]P^                  ]%]'3R7      R5RRRRRRRRRRRRRRRRRRRR/
R% R& lll4       t0R' R( lt1]! ]24      t3]P\                  R68  d   R) R* lt4]4]Pj                  n6        R+RR,RR-^R.R/R/ R0 llt7R1 R2 lt8R# )7z7Provide an enhanced dataclass that performs validation.)annotationsN)TYPE_CHECKINGAnyCallableGenericLiteralNoReturnTypeVaroverload)warn)	TypeGuarddataclass_transform)_config_decorators_mock_val_ser_namespace_utils_typing_extra)_dataclasses)getattr_migration)
ConfigDict)PydanticUserError)Field	FieldInfoPrivateAttr)PydanticDataclass)MappingNamespace_T)field_specifiersinitFreprTeqorderunsafe_hashfrozenconfigvalidate_on_initkw_only.slotsc               D    V ^8  d   QhRRRRRRRRRRRRR	R
RRRRRRRR/# )   r   Literal[False]r   boolr    r!   r"   r#   r$    ConfigDict | type[object] | Noner%   bool | Noner&   r'   return-Callable[[type[_T]], type[PydanticDataclass]] )formats   "f/Users/ahmad/.openclaw/workspace/my-crawler/.venv/lib/python3.14/site-packages/pydantic/dataclasses.py__annotate__r3   !   sx        	
    1 &   
7    c        
            R # Nr0   )
r   r   r    r!   r"   r#   r$   r%   r&   r'   s
   $$$$$$$$$$r2   	dataclassr7      s     	r4   c               H    V ^8  d   QhRRRRRRRRRRR	RR
RRRRRRRRRRR/# )r)   _clstype[_T]r   r*   r   r+   r    r!   r"   r#   r-   r$   r,   r%   r&   r'   r.   type[PydanticDataclass]r0   )r1   s   "r2   r3   r3   2   s     & && & 	&
 & & & & 1& && & & 
!&r4   c       
            R # r6   r0   )r9   r   r   r    r!   r"   r#   r$   r%   r&   r'   s   &$$$$$$$$$$r2   r7   r7   0   s     #&r4   c               <    V ^8  d   QhRRRRRRRRRRRR	R
RRR	RR/	# )r)   r   r*   r   r+   r    r!   r"   r#   r-   r$   r,   r%   r.   r/   r0   )r1   s   "r2   r3   r3   E   sd        	
    1 & 
7r4   c                    R # r6   r0   )r   r   r    r!   r"   r#   r$   r%   s   $$$$$$$$r2   r7   r7   C   s     	r4   c               @    V ^8  d   QhRRRRRRRRRRR	RR
RRRRRRR/
# )r)   r9   r:   r   r*   r   r+   r    r!   r"   r#   r-   r$   r,   r%   r.   r;   r0   )r1   s   "r2   r3   r3   T   sn     & && & 	&
 & & & & 1& && 
!&r4   c                   R # r6   r0   )	r9   r   r   r    r!   r"   r#   r$   r%   s	   &$$$$$$$$r2   r7   r7   R   s     #&r4   c               H    V ^8  d   QhRRRRRRRRRRR	RR
RRRRRRRRRRR/# )r)   r9   ztype[_T] | Noner   r*   r   r+   r    r!   r"   r#   r-   r$   r,   r%   r&   r'   r.   zGCallable[[type[_T]], type[PydanticDataclass]] | type[PydanticDataclass]r0   )r1   s   "r2   r3   r3   c   s     VH VH
VH VH 	VH
 	VH VH VH VH -VH "VH VH VH MVHr4   c       
   	        aaaaaaa
a VRJ g   Q R4       hVRJg   Q R4       h\         P                  R8  d   RV	RS
/oM/ oR VVVVVVV
V3R llpV f   V# V! V 4      # )	ar  !!! abstract "Usage Documentation"
    [`dataclasses`](../concepts/dataclasses.md)

A decorator used to create a Pydantic-enhanced dataclass, similar to the standard Python `dataclass`,
but with added validation.

This function should be used similarly to `dataclasses.dataclass`.

Args:
    _cls: The target `dataclass`.
    init: Included for signature compatibility with `dataclasses.dataclass`, and is passed through to
        `dataclasses.dataclass` when appropriate. If specified, must be set to `False`, as pydantic inserts its
        own  `__init__` function.
    repr: A boolean indicating whether to include the field in the `__repr__` output.
    eq: Determines if a `__eq__` method should be generated for the class.
    order: Determines if comparison magic methods should be generated, such as `__lt__`, but not `__eq__`.
    unsafe_hash: Determines if a `__hash__` method should be included in the class, as in `dataclasses.dataclass`.
    frozen: Determines if the generated class should be a 'frozen' `dataclass`, which does not allow its
        attributes to be modified after it has been initialized. If not set, the value from the provided `config` argument will be used (and will default to `False` otherwise).
    config: The Pydantic config to use for the `dataclass`.
    validate_on_init: A deprecated parameter included for backwards compatibility; in V2, all Pydantic dataclasses
        are validated on init.
    kw_only: Determines if `__init__` method parameters must be specified by keyword only. Defaults to `False`.
    slots: Determines if the generated class should be a 'slots' `dataclass`, which does not allow the addition of
        new attributes after instantiation.

Returns:
    A decorator that accepts a class as its argument and returns a Pydantic `dataclass`.

Raises:
    AssertionError: Raised if `init` is not `False` or `validate_on_init` is `False`.
Fz7pydantic.dataclasses.dataclass only supports init=Falsez-validate_on_init=False is no longer supportedr&   r'   c                    V ^8  d   QhRRRR/# )r)   cls	type[Any]r.   r;   r0   )r1   s   "r2   r3   dataclass.<locals>.__annotate__   s     ^ ^i ^,C ^r4   c                  <aa ^RI Hp V! V 4      '       d   \        RV P                   R2RR7      hT p\        ;QJ d&    R V P
                   4       F  '       g   K   RM	  RM! R V P
                   4       4      pV'       g7   Se3   \        V R
4      '       d!   \        RV P                   R2\        ^R7       Se   SM\        V R
R	4      p\        P                  ! V4      p\        P                  P                  V 4      pVP                  V4       V P                   p\"        P$                  ! V 4      '       d]   R	pV 3p\'        V \(        4      '       d!   \(        V P*                  ,          p	W3,           p\,        P.                  ! V P                  V4      p Se7   SoVP0                  '       d"   \        RV P                  : R2\        ^R7       MVP0                  ;'       g    Ro\2        P4                  ! V 4      p
V
 FG  p\        WR	4      p\7        V\8        4      '       g   K'  \;        W\"        P<                  ! V4      4       KI  	  \"        P>                  ! V 4      ;_uu_ 4        \@        PB                  ! V 3RRRSRSRSRSRS/SB p R	R	R	4       VPD                  '       d   V PF                  o\H        PJ                  ! V PF                  4      R VV3R ll4       pVPM                  R	V 4      V n#        S'       d+   \        V R4      '       g   R R lpR R lpWn'        Wn(        RV n)        W`n*        Wpn        \        VRR	4      pVPV                  V n+        \X        PZ                  R8  d   Ve   VVn.        VV n.        VP^                  V n/        \a        \b        4      V n2        RV n3        \"        Ph                  ! WRR7       V #   + '       g   i     ELC; i) zCreate a Pydantic dataclass from a regular dataclass.

Args:
    cls: The class to create the Pydantic dataclass from.

Returns:
    A Pydantic dataclass.
)is_model_classz(Cannot create a Pydantic dataclass from z" as it is already a Pydantic modelzdataclass-on-model)codec              3  N   "   T F  p\         P                  ! V4      x  K  	  R # 5ir6   )dataclassesis_dataclass).0bases   & r2   	<genexpr>6dataclass.<locals>.create_dataclass.<locals>.<genexpr>   s      ZMD!9!9$!?!?Ms   #%TFN__pydantic_config__z[`config` is set via both the `dataclass` decorator and `__pydantic_config__` for dataclass zK. The `config` specification from `dataclass` decorator will take priority.)category
stacklevelzN`frozen` is set via both the `dataclass` decorator and `config` for dataclass zW.This is not recommended. The `frozen` specification on `dataclass` will take priority.r   r   r    r!   r"   r#   c               (    V ^8  d   QhRRRRRRRR/# )	r)   instancer   namestrvaluer   r.   Noner0   )r1   s   "r2   r3   9dataclass.<locals>.create_dataclass.<locals>.__annotate__   s1     _ _,= _S _QT _\` _r4   c               \  < S'       d
   S! WV4      # \        V 4      p\        W1R 4      p\        V\        4      '       d   VP	                  W4       R # \        V\
        P                  4      '       d   V P                  P                  W4       R # VP                  P                  WV4       R # r6   )typegetattr
isinstanceproperty__set__	functoolscached_property__dict____setitem____pydantic_validator__validate_assignment)rU   rV   rX   inst_clsattrfrozen_original_setattrs   """  r2   validated_setattr>dataclass.<locals>.create_dataclass.<locals>.validated_setattr   s    +HEBB>xt4dH--LL1i&?&?@@%%11$>33GGX]^r4   __setstate__c                    V ^8  d   QhRRRR/# )r)   selfr   r.   	list[Any]r0   )r1   s   "r2   r3   rZ     s     U Uc Ui Ur4   c                ~    \         P                  ! V 4       Uu. uF  p\        WP                  4      NK  	  up# u upi r6   )rK   fieldsr]   rV   )ro   fs   & r2   _dataclass_getstate@dataclass.<locals>.create_dataclass.<locals>._dataclass_getstate  s0    ;F;M;Md;ST;SaGD&&1;STTTs   :c               $    V ^8  d   QhRRRRRR/# )r)   ro   r   staterp   r.   rY   r0   )r1   s   "r2   r3   rZ     s&     D Dc D) D Dr4   c                    \        \        P                  ! V 4      V4       F%  w  r#\        P	                  WP
                  V4       K'  	  R # r6   )ziprK   rr   object__setattr__rV   )ro   rw   fieldrX   s   &&  r2   _dataclass_setstate@dataclass.<locals>.create_dataclass.<locals>._dataclass_setstate  s5    (+K,>,>t,De(L**4UC )Mr4   __firstlineno__)raise_errors)      )5_internal._utilsrH   r   __name__any	__bases__hasattrr   UserWarningr]   r   ConfigWrapperr   DecoratorInfosbuildupdate_from_config__doc___pydantic_dataclassesis_stdlib_dataclass
issubclassr   __parameters__types	new_classr#   r   safe_get_annotationsr^   r   setattras_dataclass_fieldpatch_base_fieldsrK   r7   rf   r{   ra   wraps__get____getstate__rm   __is_pydantic_dataclass____pydantic_decorators__
__module__sysversion_infor   __qualname__classmethod_pydantic_fields_complete__pydantic_fields_complete____pydantic_complete__complete_dataclass)rD   rH   original_clshas_dataclass_baseconfig_dictconfig_wrapper
decoratorsoriginal_docbasesgeneric_basecls_anns
field_namefield_valuerk   rt   r}   firstlinenori   rj   r$   r    r#   kwargsr!   r   r'   r"   s   &                @@r2   create_dataclass#dataclass.<locals>.create_dataclass   s    	5##:3<<.Hjk) 
  !S ZCMM ZSSS ZCMM ZZ!f&8WSJ_=`=`mnqnznzm{ |\ ]$	 !' 2fEZ\`8a ..{; //55c:
%%n5
 {{ 44S99  L
 FE#w''&s'9'9:///#,,6C G$$$deheqeqdt um m( 	 %++44uG !55c:"J "#48K+y11)>)Q)QR])^_ # #44S99''
 
 	

 
 
 (
 
 
C : ---"__S__-_ _ ._ 077cBCOWS.99UD $7 #6  )-%&0#"l,=tD%00w&;+B ,7L("-C'44+67P+Q($)! 	00SXY
S :99s   )$OO	r   
   )r   r   )r9   r   r   r    r!   r"   r#   r$   r%   r&   r'   r   r   s   &$dddddd$$d @r2   r7   r7   b   sr    ^ 5=SSS=5(Y*YY(
7"Wgu5^ ^@  $|G1A$1GGr4   c                    V ^8  d   QhRRRR/# )r)   rD   r;   r.   r+   r0   )r1   s   "r2   r3   r3   <  s     X X#: Xt Xr4   c                    \         ;QJ d4    R V P                  P                  4        4       F  '       d   K   R# 	  R# ! R V P                  P                  4        4       4      # )zReturn whether the fields where successfully collected (i.e. type hints were successfully resolves).

This is a private property, not meant to be used outside Pydantic.
c              3  8   "   T F  qP                   x  K  	  R # 5ir6   )	_complete)rM   
field_infos   & r2   rO   ,_pydantic_fields_complete.<locals>.<genexpr>A  s     W6V
##6Vs   FT)all__pydantic_fields__values)rD   s   &r2   r   r   <  sK    
 3Wc6M6M6T6T6VW33W3W3Wc6M6M6T6T6VWWWr4   c               $    V ^8  d   QhRRRRRR/# )r)   argsr   r   r.   r   r0   )r1   s   "r2   r3   r3   J  s!     < <S <C <H <r4   c                     \        R4      h)a!  This function does nothing but raise an error that is as similar as possible to what you'd get
if you were to try calling `InitVar[int]()` without this monkeypatch. The whole purpose is just
to ensure typing._type_check does not error if the type hint evaluates to `InitVar[<parameter>]`.
z 'InitVar' object is not callable)	TypeError)r   r   s   *,r2   _call_initvarr   J  s    
 :;;r4   forcer   _parent_namespace_depth_types_namespacec               0    V ^8  d   QhRRRRRRRRRR	R
R/# )r)   rD   r;   r   r+   r   r   intr   zMappingNamespace | Noner.   r-   r0   )r1   s   "r2   r3   r3   T  sF     : :	 : : 	:
 !: .: :r4   c                  V'       g   V P                   '       d   R# R FK  pWPP                  9   g   K  \        \        W4      \        P
                  4      '       d   K@  \        W4       KM  	  RV n         Ve   TpM,V^ 8  d$   \        P                  ! VRR7      ;'       g    / pM/ p\        P                  ! VR7      p\        P                  ! V \        P                  ! V P                  RR7      VVRR7      # )	aD  Try to rebuild the pydantic-core schema for the dataclass.

This may be necessary when one of the annotations is a ForwardRef which could not be resolved during
the initial attempt to build the schema, and automatic rebuilding fails.

This is analogous to `BaseModel.model_rebuild`.

Args:
    cls: The class to rebuild the pydantic-core schema for.
    force: Whether to force the rebuilding of the schema, defaults to `False`.
    raise_errors: Whether to raise errors, defaults to `True`.
    _parent_namespace_depth: The depth level of the parent namespace, defaults to 2.
    _types_namespace: The types namespace, defaults to `None`.

Returns:
    Returns `None` if the schema is already "complete" and rebuilding was not required.
    If rebuilding _was_ required, returns `True` if rebuilding was successful, otherwise `False`.
NFT)parent_depthr   )parent_namespace)check)r   ns_resolver_force_build)__pydantic_core_schema__re   __pydantic_serializer__)r   rc   r^   r]   r   
MockValSerdelattrr   parent_frame_namespacer   
NsResolverr   r   r   r   rQ   )rD   r   r   r   r   rh   
rebuild_nsr   s   &$$$$   r2   rebuild_dataclassr   T  s    4 S...a<<
733E}G_G_(`(` C	 b !&C#%
	 1	$"99G^fjkqqoq

"--#K !33c55UC!
 
 
r4   c                    V ^8  d   QhRRRR/# )r)   class_rE   r.   z"TypeGuard[type[PydanticDataclass]]r0   )r1   s   "r2   r3   r3     s      ) 3U r4   c                    RV P                   9   ;'       d    \        P                  ! V 4      #   \         d     R# i ; i)zWhether a class is a pydantic dataclass.

Args:
    class_: The class.

Returns:
    `True` if the class is a pydantic dataclass, `False` otherwise.
r   F)rc   rK   rL   AttributeError)r   s   "r2   is_pydantic_dataclassr     s<    *foo=bb+BZBZ[aBbb s   / / >>)r7   r   r   r6   )r      )9r   
__future__r   _annotationsrK   ra   r   r   typingr   r   r   r   r   r   r	   r
   warningsr   typing_extensionsr   r   	_internalr   r   r   r   r   r   r   
_migrationr   r$   r   errorsr   rr   r   r   r   _internal._dataclassesr   _internal._namespace_utilsr   __all__r   r   r|   r7   r   r   __getattr__r   InitVar__call__r   r   r0   r4   r2   <module>r      s   = 2   
  ^ ^ ^  < [ [ < )  % 1 19<
*T]w;+<+<e[*QR$  	
  "  48 )-    S ;+<+<e[*QR&  %& 	&
 & & "& #& 48& )-& & &  S&" ;+<+<e[*QR$  	
  " # 48 )-  S ;+<+<e[*QR&  %& 	&
 & & "& #& 48& )-&  S& {'8'8%&MNVH !VH 	VH
 VH VH VH VH 04VH %)VH VH VH OVHrX  )g< $1K : : 	:
 $%: 15:zr4   