
    &`i                     0   d dl mZ d dlmZmZmZ d dl	m
Z
mZ d dlmZmZ e ee           G d de                                  Ze ee           G d de                                  Ze ee           G d	 d
e                                  ZdS )    )	dataclass)CheckpointConfigFailureConfig	RunConfig)V2_MIGRATION_GUIDE_MESSAGE_v2_migration_warnings_enabled)	_copy_doc_log_deprecation_warningc                       e Zd ZdS )r   N__name__
__module____qualname__     h/home/jaya/work/projects/VOICE-AGENT/VIET/agent-env/lib/python3.11/site-packages/ray/tune/impl/config.pyr   r               	Dr   r   c                       e Zd ZdS )r   Nr   r   r   r   r   r      r   r   r   c                        e Zd Z fdZ xZS )r   c                    | j         pt                      | _         | j        pt                      | _        t	                                                       t          | j         t                    s%t                      rt          dt                      t          | j        t                    s't                      rt          dt                      d S d S d S )NzyThe `CheckpointConfig` class should be imported from `ray.tune` when passing it to the Tuner. Please update your imports.zvThe `FailureConfig` class should be imported from `ray.tune` when passing it to the Tuner. Please update your imports.)
checkpoint_configr   failure_configr   super__post_init__
isinstancer   r
   r   )self	__class__s    r   r   zRunConfig.__post_init__!   s    !%!7!M;K;M;M"1D]__$02BCC 	-// (414 4   $-}== 	-// (414 4    	 	 r   )r   r   r   r   __classcell__)r   s   @r   r   r      s8                r   r   N)dataclassesr   ray.air.configr   _CheckpointConfigr   _FailureConfigr   
_RunConfigray.train.constantsr   r   ray.train.utilsr	   r
   r   r   r   <module>r&      sy   ! ! ! ! ! !         
        @ ? ? ? ? ? ? ? 
	 	 	 	 	( 	 	  	 
>	 	 	 	 	N 	 	  	 
:    
      r   