:py:mod:`cep_24` ================ .. py:module:: conda.env.specs.cep_24 .. autoapi-nested-parse:: Define cep-0024 compliant YAML spec. Classes ------- .. autoapisummary:: conda.env.specs.cep_24.Cep24YamlFileSpec .. py:class:: Cep24YamlFileSpec(filename: str | None = None, **kwargs) Bases: :py:obj:`conda.plugins.types.EnvironmentSpecBase` **EXPERIMENTAL** Base class for all environment specifications. Environment specs parse different types of environment definition files (environment.yml, requirements.txt, pyproject.toml, etc.) into a common Environment object model. .. py:property:: env :type: conda.models.environment.Environment Express the provided environment file as a conda environment object. :returns Environment: the conda environment represented by the file. .. py:attribute:: _environment .. py:method:: can_handle() 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 or False