spark_on_k8s.api.utils¶
Implementation reference. These symbols describe how the project works; their presence here does not make them supported application imports. Use the documented entry points and support policy.
error_body(code, message)
¶
The API's single error envelope, shared with the versioned /jobs/v1 contract.
Source code in spark_on_k8s/api/utils.py
37 38 39 | |
install_error_handlers(app)
¶
Serialize every HTTP error, including framework routing and validation errors, alike.
Source code in spark_on_k8s/api/utils.py
89 90 91 92 93 | |