Issue
from collection import collection_api
app.register_blueprint(collection_api, url_prefix="/typing-session")
app.register_blueprint(collection_api, url_prefix="/api/dataservice/typing-session)
It is already created, how do i fix this?
Solution
You are trying to register the same Blueprint twice.
Change the second line to app.register_blueprint(collection_api, name="<some_unique_name>", url_prefix="/api/dataservice/typing-session)
Answered By – Simeon Nedkov
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0