Returns a list of dicts with data formatted for the uninstallation options page.
(info: dict)
| 243 | |
| 244 | |
| 245 | def 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 | |
| 269 | def create_install_options_list(info: dict) -> list[dict]: |
no outgoing calls