Skip to content

Instantly share code, notes, and snippets.

import flask_restful
import functools
class Api(flask_restful.Api):
"""
Patch Flask-style custom error handling into the Flask-RESTful api class.
"""
def __init__(self, *args, **kwargs):