:py:mod:`specs` =============== .. py:module:: conda.env.specs .. toctree:: :hidden: :titlesonly: :maxdepth: 3 cep_24/index.rst explicit/index.rst requirements/index.rst yaml_file/index.rst Functions --------- .. autoapisummary:: conda.env.specs.detect Attributes ---------- .. autoapisummary:: conda.env.specs.context conda.env.specs.FileSpecTypes .. py:data:: context .. py:exception:: EnvironmentSpecPluginNotDetected(name: str, plugin_names: collections.abc.Iterable[str], autodetect_disabled_plugins: collections.abc.Iterable[str] = (), *args, **kwargs) Bases: :py:obj:`SpecNotFound` Common base class for all non-exit exceptions. Initialize self. See help(type(self)) for accurate signature. .. py:attribute:: name .. py:exception:: SpecNotFound(msg: str, *args, **kwargs) Bases: :py:obj:`conda.CondaError` Common base class for all non-exit exceptions. Initialize self. See help(type(self)) for accurate signature. .. py:data:: FileSpecTypes .. py:function:: detect(filename: str | None = None) -> SpecTypes Return the appropriate spec type to use. :raises SpecNotFound: Raised if no suitable spec class could be found given the input