(self)
| 386 | return json.dumps(python_dict, indent=4, sort_keys=True) |
| 387 | |
| 388 | def user_credentials_to_json(self) -> str: |
| 389 | cfg = self.unsafe_config() |
| 390 | |
| 391 | adapter = TypeAdapter(dict[ArchConfigType, Any]) |
| 392 | python_dict = adapter.dump_python(cfg) |
| 393 | return json.dumps(python_dict, indent=4, sort_keys=True) |
| 394 | |
| 395 | def write_debug(self) -> None: |
| 396 | debug(' -- Chosen configuration --') |
no test coverage detected