jmcarp / flask-apispec

MIT License
655 stars 156 forks source link

Upgrade from 0.4.2 version #180

Closed polozhevets closed 4 years ago

polozhevets commented 4 years ago

https://github.com/jmcarp/flask-apispec/blob/55255f5c30cacb7dd14668ed5e01cb9e03280419/flask_apispec/wrapper.py#L46

File "/usr/local/lib/python3.6/site-packages/flask_apispec/wrapper.py", line 46, in call_view parsed = parser.parse(schema, locations=option['kwargs']['locations']) TypeError: parse() got an unexpected keyword argument 'locations

Just updated to the latest version and got this error 😳

sloria commented 4 years ago

What version of webargs do you have installed? flask-apispec is not yet compatible with webargs 6, which is why it is currently pinned to webargs<6.0.

polozhevets commented 4 years ago

Yeah, I have 6.0.0. Which version is recommended?

sloria commented 4 years ago

5.5.3 is the latest version before 6.0.0

polozhevets commented 4 years ago

Thanks!