Return the scheduling parameters as a sched_param instance for the process with PID pid. A pid of 0 means the calling process.
os.sched_getparam(pid, /)