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?
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)