request_obj = DbRequest(
**{
"uuid": request_uuid,
"parameters": json.dumps(request_data.parameters),
"requesting_tenant_uuid": str(uuid.uuid4()), # this should be request_data.tenant_uuid
"requesting_recieved_timestamp": ctime,
"budget": "not currently implemented in the API",
"status": RequestStatus.PENDING.value,
}
)
Instead of being taken from the message sent to the endpoint. Probably a leftover from when the endpoints where not fully working yet.
See here:
And here: