qunicorn_core.core.pilotmanager.qmware_pilot module
- class qunicorn_core.core.pilotmanager.qmware_pilot.QMwarePilot
Bases:
PilotBase class for Pilots
- cancel_provider_specific(job: JobDataclass, token: str | None = None)
Cancel execution of a job at the corresponding backend
- determine_db_job_state(db_job: JobDataclass) JobState
- execute_provider_specific(jobs: Sequence[PilotJob], job_type: str, token: str | None = None)
Execute a job of a provider specific type on a backend using a Pilot
- get_device_data_from_provider(device: DeviceDataclass | DeviceDto, token: str | None) dict
Get device data for a specific device from the provider
- get_standard_job_with_deployment(device: DeviceDataclass) JobDataclass
Create the standard ProviderDataclass Object for the pilot and return it
- get_standard_provider() ProviderDataclass
Create the standard ProviderDataclass Object for the pilot and return it
- is_device_available(device: DeviceDataclass | DeviceDto, token: str | None) bool
Check if a device is available for a user
- run(jobs: Sequence[PilotJob], token: str | None = None)
Run a job of type RUNNER on a backend using a Pilot