conda_config#

RuntimeEnv.conda_config() → str | None[source]#

Return the conda environment spec as JSON.

Returns:

The conda dict serialized to JSON with sorted keys, or None if conda isn’t set or isn’t a dict.

Return type:

str | None