ashleysommer / sanic-restplus

Fully featured framework for fast, easy and documented API development with Sanic
http://flask-restplus.readthedocs.org
Other
104 stars 14 forks source link

TypeError: __new__() missing 1 required positional argument: 'version_prefix' #27

Closed jailge closed 3 years ago

jailge commented 3 years ago

Hi, I currently use python3.7, sanic 21.6.2 and sanic-restplus 0.6.0. When I run my project, I got a type error as below:

File "/Users/jailge/PycharmProjects/eslogsystem/sanic-ls-service/venv/lib/python3.7/site-packages/sanic_plugin_toolkit/realm.py", line 350, in _plugin_register_app_route fr = SanicFutureRoute(r_handler, uri, name=name, **kwargs) TypeError: __new__() missing 1 required positional argument: 'version_prefix'

ashleysommer commented 3 years ago

Hi @jailge Thanks for the report. This is a bug in Sanic-Plugin-Toolkit. I'll create a copy of this issue in that repo, and update you here.

ashleysommer commented 3 years ago

Also, this is a duplicate of https://github.com/ashleysommer/sanic-restplus/pull/26

ashleysommer commented 3 years ago

Fix released in Sanic-Restplus v0.6.1

ashleysommer commented 3 years ago

Fixed by #26