+
    7*iR9  c                  s   ^ RI Ht ^ RIt^ RIHt ^ RI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HtHtHtHt ^R
IHt ^RIHtHt ]	'       d   ^RIHt ^RI H!t!H"t" Rt# ! R R4      t$ ! R R4      t%]! RX/ RRbRRbRRbRRbR^ bRRbRRbRRbRRbRRbRRbRRbR RbR!R"bR#RbR$RbR%RbR&RXbR'R"bR(RbR)RbR*R+bR,R-bR.R-bR/R0bR1R2bR3R2bR4R5bR6RbR7RbR8RYbR9RbR:RbR;RbR<RbR=RbR>RbR?RbR@RbRARBbRCRbRDRbRER"bRFR"bRGRbRHRbRIRb t&RJ RK lt'](! ]PR                  PU                  4       4      t+0 RZmt,RLRGRMRRNRRORRPR&RQRRRRRSR RTR(RUR6/
t-RV RW lt.R# )[i    )annotationsN)contextmanager)Pattern)TYPE_CHECKINGAnyCallableLiteralcast)core_schema)Self)AliasGenerator)
ConfigDictExtraValuesJsonDictJsonEncoderJsonSchemaExtraCallable)PydanticUserError)PydanticDeprecatedSince20PydanticDeprecatedSince210)GenerateSchema)ComputedFieldInfo	FieldInfozGSupport for class-based `config` is deprecated, use ConfigDict instead.c                  sX   ] tR t^t$ RtRUt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]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&   R]R2&   R]R3&   R4]R5&   R]R6&   R]R7&   R8]R9&   R:]R;&   R]R<&   R=]R>&   R]R?&   R@]RA&   R]RB&   R]RC&   RD]RE&   R]RF&   R]RG&   R]RH&   R]RI&   RJRK/RL RM llt]RN RO l4       t	]
'       g   RP RQ ltRR RS ltRT tRUtRV# )WConfigWrapperzIInternal wrapper for Config which exposes ConfigDict items as attributes.config_dictr   
str | Nonetitleboolstr_to_lowerstr_to_upperstr_strip_whitespaceZintstr_min_lengthz
int | Nonestr_max_lengthzExtraValues | Noneextrafrozenpopulate_by_nameuse_enum_valuesvalidate_assignmentarbitrary_types_allowedfrom_attributesloc_by_aliasz,Callable[[str], str] | AliasGenerator | Nonealias_generatorzCallable[[type], str] | Nonemodel_title_generatorz:Callable[[str, FieldInfo | ComputedFieldInfo], str] | Nonefield_title_generatorztuple[type, ...]ignored_typesallow_inf_nanz)JsonDict | JsonSchemaExtraCallable | Nonejson_schema_extraz&dict[type[object], JsonEncoder] | Nonejson_encodersstrictz0Literal['always', 'never', 'subclass-instances']revalidate_instanceszLiteral['iso8601', 'float']ser_json_timedeltaz-Literal['iso8601', 'seconds', 'milliseconds']ser_json_temporalz+Literal['seconds', 'milliseconds', 'infer']val_temporal_unitz Literal['utf8', 'base64', 'hex']ser_json_bytesval_json_bytesz'Literal['null', 'constants', 'strings']ser_json_inf_nanvalidate_defaultvalidate_returnztuple[str | Pattern[str], ...]protected_namespaceshide_input_in_errorsdefer_buildzdict[str, object] | Noneplugin_settingsztype[GenerateSchema] | Noneschema_generator+json_schema_serialization_defaults_requiredz,Literal['validation', 'serialization', None]json_schema_mode_overridecoerce_numbers_to_strz"Literal['rust-regex', 'python-re']regex_enginevalidation_error_causeuse_attribute_docstringsz%bool | Literal['all', 'keys', 'none']cache_stringsvalidate_by_aliasvalidate_by_nameserialize_by_aliasurl_preserve_empty_pathcheckTc                    V ^8  d   QhRRRR/# )   config.ConfigDict | dict[str, Any] | type[Any] | NonerI   r    Zformat   "?/usr/lib/python3.14/site-packages/pydantic/_internal/_config.py__annotate__ConfigWrapper.__annotate__\   s     8 8M 8Y] 8    c               	sd    V'       d   \        V4      V n        R # \        \        V4      V n        R # N)prepare_configr   r   r   )selfrL   rI   s   &&$rQ   __init__ZConfigWrapper.__init__\   s!    -f5D#J7DrT   c          
     s,    V ^8  d   QhRRRRRRRRRR/# )	rK   basesztuple[type[Any], ...]	namespacezdict[str, Any]raw_annotationskwargsreturnr	   rN   rO   rP   rQ   rR   rS   c   s<     1 1$1 "1 (	1
 1 
1rT   c                s>   \        4       pV F9  p\        VRR4      pV'       g   K  VP                  VP                  4       4       K;  	  VP	                  R4      pVP	                  R4      p	VP	                  R4      '       d   V	f   \        RRR7      hV'       d   V	'       d   \        RRR7      hT	;'       g    \        V4      p
VP                  V
4       \        VP                  4       4       F#  pV\        9   g   K  VP                  V4      W[&   K%  	  V ! V4      # )	a  Build a new `ConfigWrapper` instance for a `BaseModel`.

The config wrapper built based on (in descending order of priority):
- options from `kwargs`
- options from the `namespace`
- options from the base classes (`bases`)

Args:
    bases: A tuple of base classes.
    namespace: The namespace of the class being created.
    raw_annotations: The (non-evaluated) annotations of the model.
    kwargs: The kwargs passed to the class being created.

Returns:
    A `ConfigWrapper` instance for `BaseModel`.
Zmodel_configNZConfigz``model_config` cannot be used as a model field name. Use `model_config` for model configuration.zmodel-config-invalid-field-nameZcodez3"Config" and "model_config" cannot be used togetherzconfig-both)r   getattrZupdateZcopygetr   rV   Zlistkeysconfig_keyspop)ZclsrY   rZ   r[   r\   Z
config_newZbaserL   Zconfig_class_from_namespaceZconfig_dict_from_namespaceZconfig_from_namespaceks   &&&&&       rQ   	for_modelZConfigWrapper.for_modelb   s    0  \
DT>48Fv!!&++-0 
 '0mmH&=#%.]]>%B"~..3M3U#r6 
 '+E#$Y`mnn : i inMh>i/0fkkm$AK &

1
 % :rT   c               rJ   )rK   nameZstrr]   r   rN   rO   rP   rQ   rR   rS      s     	X 	XC 	XC 	XrT   c                	s     V P                   V,          #   \         d1     \        T,          u #   \         d    \        R T: 24      Rhi ; ii ; i)zConfig has no attribute N)r   ZKeyErrorconfig_defaultsZAttributeError)rW   rf      &&rQ   __getattr__ZConfigWrapper.__getattr__   sb    X''-- XX*400 X(+CD8)LMSWWXXs    A0AAAc               rJ   )rK   r   r   r]   zcore_schema.CoreConfigrN   rO   rP   rQ   rR   rS      s     I
 I
 I
0F I
rT   c           #     s4   V P                   pVP                  R4      e   \        P                  ! R\        ^R7       VP                  R4      ;pe   VP                  R4      f
   RVR&   W2R&   VP                  R4      R	J d   VP                  R4      f   RVR&   VP                  RR4      '       g&   VP                  RR	4      '       g   \        R
RR7      h\        P                  ! R(/ RVP                  R4      ;'       g    T;'       g    R3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3RVP                  R4      3R VP                  R 4      3R!VP                  R!4      3R"VP                  R"4      3R#VP                  R#4      3R$VP                  R$4      3R%VP                  R%4      3RVP                  R4      3RVP                  R4      3R&VP                  R&4      3R'VP                  R'4      33 UUu/ uF  w  rEVf   K  WEbK  	  uppB # u uppi ))zCreate a pydantic-core config.

We don't use getattr here since we don't want to populate with defaults.

Args:
    title: The title to use if not set in config.

Returns:
    A `CoreConfig` object created from config.
r=   NzfThe `schema_generator` setting has been deprecated since v2.10. This setting no longer has any effect.Z
stacklevelr"   rF   TrE   FzNAt least one of `validate_by_alias` or `validate_by_name` must be set to True.z validate-by-alias-and-name-falser^   r   Zextra_fields_behaviorr    r,   r   r   r   r/   r1   r2   r3   r4   r5   r6   r&   r'   r0   r7   r   r   r:   r@   rA   rB   rD   rG   rH   rN   )r   r`   warningswarnr   r   r   Z
CoreConfig)rW   r   rL   r"   rd   vs   &&    rQ   core_configZConfigWrapper.core_config   s#    !!::()5MMx* !'

+= >>K zz,-5.2*+-=)* ::)*e3

CU8V8^)-F%&

.55

K]_d@e@e#`7 
 %% #
 fjj1BBUBBdC,fjj.AB$fjj&AB+VZZ8N-OP#VZZ%?@#VZZ%?@vzz(34)6::6J+KL(&**5H*IJ(&**5H*IJ%vzz2B'CD%vzz2B'CD'4F)GH&

3D(EF#VZZ%?@+VZZ8N-OP'4F)GH%vzz2B'CD%vzz2B'CD+VZZ8N-OP,fjj9P.QR#VZZ%?@-vzz:R/ST$fjj&AB(&**5H*IJ'4F)GH)6::6J+KL.

;T0UV9!DA< ? !#
 #	
!s   ;LLc                	sn    R P                  R V P                  P                  4        4       4      pRV R2# )z, c              3  s6   "   T F  w  rV R V: 2x  K  	  R# 5i)Z=NrN   )Z.0rd   rm      &  rQ   Z	<genexpr>Z)ConfigWrapper.__repr__.<locals>.<genexpr>   s     H/Gtq1QEl/Gs   zConfigWrapper(Z))joinr   items)rW   Zcs   & rQ   __repr__ZConfigWrapper.__repr__   s4    IIHt/?/?/E/E/GHHs!$$rT   )r   N)__name__
__module____qualname____firstlineno____doc__Z	__slots____annotations__rX   Zclassmethodre   r   ri   rn   rr   __static_attributes__rN   rT   rQ   r   r      sg   S I L!! AA77UU##@@99 LJJ33DDBB4444==88--11155KK44  ""88!!8`d 8 1 1h 	XI
V%rT   r   c                  sR    ] tR t^tRtR R lt]R R l4       t]R R l4       t	Rt
R	# )
ConfigWrapperStackz%A stack of `ConfigWrapper` instances.c                   V ^8  d   QhRR/# )rK   config_wrapperr   rN   rO   rP   rQ   rR   ConfigWrapperStack.__annotate__   s     K K} KrT   c                	s    V.V n         R # rU   _config_wrapper_stackrW   r|   rh   rQ   rX   ZConfigWrapperStack.__init__   s    ;I:J"rT   c               r{   )rK   r]   r   rN   rO   rP   rQ   rR   r}      s     . .m .rT   c                	s(    V P                   R,          # )i   ir~   )rW   s   &rQ   tailZConfigWrapperStack.tail   s    ))"--rT   c               r{   )rK   r|   z!ConfigWrapper | ConfigDict | NonerN   rO   rP   rQ   rR   r}      s     - -#D -rT   c              #  	s  "   Vf   R x  R # \        V\        4      '       g   \        VRR7      pV P                  P                  V4        R x  V P                  P	                  4        R #   T P                  P	                  4        i ; i5i)NF)rI   )
isinstancer   r   Zappendrc   r   rh   rQ   pushZConfigWrapperStack.push   sj     !.-88*>GN"")).9	-&&**,D&&**,s   A	BA, B,BBr~   N)rs   rt   ru   rv   rw   rX   Zpropertyr   r   r   ry   rN   rT   rQ   rz   rz      s3    /K . . - -rT   rz   r   r   Fr   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   Tr(   r)   r*   r+   r,   r-   r/   r0   Zneverr1   Ziso8601r2   r3   Zinferr4   Zutf8r5   r6   Znullr7   r8   r9   r:   r.   r;   r=   r<   r>   r?   r@   rA   z
rust-regexrB   rC   rD   rE   rF   rG   rH   c               rJ   )rK   rL   rM   r]   r   rN   rO   rP   rQ   rR   rR   @  s      I j rT   c                sH   V f   \        4       # \        V \        4      '       g^   \        P                  ! \
        \        ^R7       \        V 4       Uu/ uF'  qP                  R4      '       d   K  V\        W4      bK)  	  p p\        \         V 4      p\        V4       V# u upi )zCreate a `ConfigDict` instance from an existing dict, a class (e.g. old class-based config) or None.

Args:
    config: The input config.

Returns:
    A ConfigDict object created from config.
rj   Z__)r   r   Zdictrk   rl   DEPRECATION_MESSAGEr   ZdirZ
startswithr_   r   check_deprecated)rL   rd   r   ro   rQ   rV   rV   @  s     ~|fd##)+DQRS14VWALLQUDV'!WV''Wz6*K[!	 Xs   B0BZallow_population_by_field_nameZanystr_lowerZanystr_strip_whitespaceZanystr_upperZkeep_untouchedZmax_anystr_lengthZmin_anystr_lengthZorm_modeZschema_extraZvalidate_allc               rJ   )rK   r   r   r]   ZNonerN   rO   rP   rQ   rR   rR   r  s     , ,* , ,rT   c                s&   \         V P                  4       ,          p\        P                  4       V P                  4       ,          pV'       g	   V'       d   \        V4       Uu/ uF  q3\        V,          bK  	  ppVP	                  4        UUu. uF  w  r5RV: RV: 2NK  	  ppp\        V4       Uu. uF
  pRV: R2NK  	  ppRP                  R.V,           V,           4      p\        P                  ! V\        4       R# R# u upi u uppi u upi )z^Check for deprecated config keys and warn the user.

Args:
    config_dict: The input config.
z* z has been renamed to z has been removedZ
z%Valid config keys have changed in V2:N)	V2_REMOVED_KEYSra   V2_RENAMED_KEYSZsortedrq   rp   rk   rl   ZUserWarning)	r   Zdeprecated_removed_keysZdeprecated_renamed_keysrd   Z	renamingsrm   Zrenamed_bulletsZremoved_bulletsZmessages	   &        rQ   r   r   r  s     .0@0@0BB-224{7G7G7II"94:;R4ST4Sq**4S	TLUOOL]^L]DARu$9!?L]^@FG^@_`@_1Ru$56@_`))DEWZiijg{+ #:T^`s   "DD2DrN   )Zmodel_validateZ
model_dump>
   fieldsZ
json_dumpsZ
json_loadsZgetter_dictZsmart_unionZallow_mutationZpost_init_callZerror_msg_templatesZcopy_on_model_validationZunderscore_attrs_are_private)/Z
__future__r    Z_annotationsrk   Z
contextlibr   Zrer   Ztypingr   r   r   r   r   Zpydantic_corer   Ztyping_extensionsr	   Zaliasesr
   rL   r   r   r   r   r   Zerrorsr   r   r   Z#_internal._schema_generation_sharedr   r   r   r   r   r   rz   rg   rV   Zsetrx   ra   rb   r   r   r   rN   rT   rQ   <module>r      s   2  %   & " $ \ \ & LD5_ R% R%j- -4  1
11 1 	1
 1 1 1 1 1 1 1 "1 1 1  !1" #1$ %1& '1( )1* +1, -1. !/10 !112  314 516 718 91: ;1< =1> ?1@ :A1B C1D E1F G1H I1J K1L 16M1N #O1P  Q1R S1T !U1V #W1X Y1Z [1\ ]1^ _1` "a1h* *,,1134 %&8N5No))!'&,rT   