def qdevice_start(lib_env, model): """ start qdevice now on local host """ _check_model(model) if not qdevice_net.qdevice_initialized(): raise LibraryError(reports.qdevice_not_initialized(model)) _service_start(lib_env, qdevice_net.qdevice_start)
def qdevice_start(lib_env: LibraryEnvironment, model): """ start qdevice now on local host """ _check_model(model) if not qdevice_net.qdevice_initialized(): raise LibraryError( ReportItem.error(reports.messages.QdeviceNotInitialized(model))) _service_start(lib_env, qdevice_net.qdevice_start)