I want to Run a Flask Server inside a jupyter notebook for specific test and QA scenarios. I do understand that it is not wise to run a server inside notebook(As mentioned in the comments of this question).
However, I want to test a specific function that both requires a flask AppContext
and a running server. It is a third-party API webhook handler and the third party does not have method to generate fake webhooks. While this might be a very specific case, I think this question is worth asking for edge cases like mine.