runpod-python
runpod-python copied to clipboard
Development server serverless webhook is not the same with the cloud version
Describe the bug The payload of the development server's webhook is not the same as the one from the cloud version.
To Reproduce Steps to reproduce the behavior:
- Create a request on
/runon local development - Call
/status/:idto execute the request - Check the webhook's payload
Expected behavior The cloud version returns the followin payload:
{
"delayTime": 4736,
"executionTime": 157,
"id": "e4616554-495e-4e66-838b-c55f2ea7ecbc-e1",
"input": {
"id": "Hello World",
"tasks": [
{
"id": "Hello World",
"token": "",
"type": "test_success"
}
]
},
"output": {
"results": [
{
"success": true
}
]
},
"status": "COMPLETED",
"webhook": "https://webhook.site/XXXX"
}
Screenshots The local development server sends the following payload:
{
"output": {
"results": [
{
"success": true
}
]
}
}
Desktop (please complete the following information):
- OS: Windows 10
- SDK Version: 1.7.9
- Browser N/A
- Version N/A