Closed kanavphull closed 11 months ago
Looks like you're using a version of flask-smorest that is older than 0.39.0 (2022-08-16).
I am actually using flask-smorest version: 0.42.1 and python version: 3.11.1
Please double-check. We don't use _app_ctx_stack
anymore (see CHANGELOG).
Right, Just noticed that the latest version does not use '_app_ctx_stack' Problem persists only with flask-smorest version 0.42.1 Thanks
I tried to import and use abort() function from the flask-smorest library, it gave me an error message as below:
Apparently, There seems to be a breaking change in 2.2.0, which should be considered in flask-smorest. Using downgraded version of flask i.e. 2.1.3 fixed this issue.