MCPcopy Create free account
hub / github.com/conda/constructor / create_uninstall_options_list

Function create_uninstall_options_list

constructor/briefcase.py:245–266  ·  view source on GitHub ↗

Returns a list of dicts with data formatted for the uninstallation options page.

(info: dict)

Source from the content-addressed store, hash-verified

243
244
245def create_uninstall_options_list(info: dict) -> list[dict]:
246 """Returns a list of dicts with data formatted for the uninstallation options page."""
247 return [
248 {
249 "name": "remove_user_data",
250 "title": "Remove user data",
251 "description": "Remove user data associated with this installation.",
252 "default": False,
253 },
254 {
255 "name": "remove_caches",
256 "title": "Remove caches",
257 "description": "Clear the package cache upon completion.",
258 "default": False,
259 },
260 {
261 "name": "remove_config_files",
262 "title": "Remove configuration files",
263 "description": "Remove .condarc and other configuration files.",
264 "default": False,
265 },
266 ]
267
268
269def create_install_options_list(info: dict) -> list[dict]:

Callers 2

write_pyproject_tomlMethod · 0.85

Calls

no outgoing calls

Tested by 1