Adding resources and routes to a flask-restful
api is pretty simple:
app = Flask(__name__)
api = restful.Api(app)
api.add_resource(MyResource,
'a_resource_method_endpoint/',
resource_class_kwargs={'param': the_param})
How can I remove MyResource
and the associated endpoint from app
once it's been added?