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
2 Replies
1AndOnlyPika
1AndOnlyPika3mo ago
runpod.error.QueryError: Cannot resume a spot pod as an on demand pod.
yhlong00000
yhlong000003mo ago
mutation PodBidResume {
podBidResume(input: { podId: "pod_id", gpuCount: 1, bidPerGpu: 3.4 }) {
lowestBidPriceToResume
id
imageName
machineId
memoryInGb
name
}
}
mutation PodBidResume {
podBidResume(input: { podId: "pod_id", gpuCount: 1, bidPerGpu: 3.4 }) {
lowestBidPriceToResume
id
imageName
machineId
memoryInGb
name
}
}
Want results from more Discord servers?
Add your server