(ostype: QL_OS)
| 407 | |
| 408 | |
| 409 | def select_os(ostype: QL_OS) -> QlClassInit['QlOs']: |
| 410 | qlos_name = ostype.name |
| 411 | qlos_path = f'.os.{qlos_name.lower()}.{qlos_name.lower()}' |
| 412 | qlos_class = f'QlOs{qlos_name.capitalize()}' |
| 413 | |
| 414 | obj = ql_get_module_function(qlos_path, qlos_class) |
| 415 | |
| 416 | return partial(obj) |
| 417 | |
| 418 | |
| 419 | def profile_setup(ostype: QL_OS, user_config: Optional[Union[str, dict]]): |
no test coverage detected