(opt_out: bool = False)
| 158 | |
| 159 | |
| 160 | def get_host_env(opt_out: bool = False): |
| 161 | if opt_out: |
| 162 | return { |
| 163 | "SDK": get_sdk_details(), |
| 164 | "OS": get_os_details(), |
| 165 | "Project Working Directory": get_current_directory(), |
| 166 | "Virtual Environment": get_virtual_env(), |
| 167 | } |
| 168 | else: |
| 169 | return { |
| 170 | "SDK": get_sdk_details(), |
| 171 | "OS": get_os_details(), |
| 172 | "CPU": get_cpu_details(), |
| 173 | "RAM": get_ram_details(), |
| 174 | "Disk": get_disk_details(), |
| 175 | "Installed Packages": get_installed_packages(), |
| 176 | "Project Working Directory": get_current_directory(), |
| 177 | "Virtual Environment": get_virtual_env(), |
| 178 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…