Blueprints may only be registered once
Author: matteosimoneCreated Sep 30, 2015Updated Sep 25, 2023
I am trying to register resources multiple times with different url prefixes and am running into issues. My use case is very similar to the one here: http://stackoverflow.com/a/13537692.
In flask-restful/init.py, I see the line:
if not setup_state.first_registration:
raise ValueError('flask-restful blueprints can only be registered once.') Is it possible to support multiple blueprint registrations or is there some other recommended way to achieve multiple prefixes using flask-restful?
Source: flask-restful/flask-restful