+
    :1jH                        R t ^ RIHt ^ RIHt ^ RIHt ^RIHt ^RI	H
t
 ^RIHtHt ^RIHt ^RIHt ]'       d   ^R	IHt ]! ]4      t ! R
 R]4      tR# )z$Define cep-0024 compliant YAML spec.)annotations)	getLogger)TYPE_CHECKING)dashlist)yaml)CondaValueErrorPluginError)EnvironmentSpecBase)env)Environmentc                  F    ] tR t^tRtRR R lltR t]R R l4       tRt	R# )	Cep24YamlFileSpecNc                   V ^8  d   QhRR/# )   filenamez
str | None )formats   "6lib/python3.14/site-packages/conda/env/specs/cep_24.py__annotate__Cep24YamlFileSpec.__annotate__   s     ! ! !    c                	    Wn         R # N)r   )selfr   kwargss   &&,r   __init__Cep24YamlFileSpec.__init__   s     r   c                   V P                   f   \        R4      h\        P                  ! V P                   4      p\        P
                  ! V4      p\        P                  ! V4      pV'       d   \        R\        V^R7       24      hR# )z
Validates loader can process environment definition.
This can handle if:
    * the provided file exists
    * the provided file is compliant with the CEP-0024

:return: True if the file can be handled
:raises: if the file can not be handled
zNo filename providedz%Provided environment file is invalid:)indentT)	r   r   r
   	load_filer   loadsget_schema_errorsr   r   )r   yamlstrdataerrorss   &   r   
can_handleCep24YamlFileSpec.can_handle   sr     == !"899--.zz'"&&t,7PQ8R7ST  r   c                   V ^8  d   QhRR/# )r   returnr   r   )r   s   "r   r   r   4   s     8 8[ 8r   c                	    V P                   '       g&   \        P                  ! V P                  4      V n         V P                   P	                  4       # r   )_environmentr
   	from_filer   to_environment_model)r   s   &r   r
   Cep24YamlFileSpec.env3   s8        #dmm <D  5577r   )r*   r   r   )
__name__
__module____qualname____firstlineno__r*   r   r%   propertyr
   __static_attributes__r   r   r   r   r      s%    L!, 8 8r   r   N)__doc__
__future__r   loggingr   typingr   	common.ior   common.serializer   
exceptionsr   r   plugins.typesr	    r
   models.environmentr   r.   logr   r   r   r   <module>r?      sA    + "    ! $ 6 0 1  8+  8r   