Resuming an on demand pod via sdk
Hello, how can I resume a spot pod through the python sdk? I am using the resume_pod function but I am not able to
runpod.error.QueryError: Cannot resume a spot pod as an on demand pod.runpod.error.QueryError: Cannot resume a spot pod as an on demand pod.mutation PodBidResume {
podBidResume(input: { podId: "pod_id", gpuCount: 1, bidPerGpu: 3.4 }) {
lowestBidPriceToResume
id
imageName
machineId
memoryInGb
name
}
}