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

fix "from sanic.response import STATUS_CODES" in sanic v20+ #21

Closed tc-imba closed 3 years ago

tc-imba commented 4 years ago

fix #20

stikks commented 3 years ago

Any idea when this PR will get merged? It's been open for a couple of months now and it breaks the use of sanic-restplus with sanic >-= 20.0

ashleysommer commented 3 years ago

Hi. Sorry, I thought I merged this PR months ago. Merging now. Its weird, I am using sanic-restplus on sanic 20.9 without any problem on two production deployments.

stikks commented 3 years ago

Hi. Sorry, I thought I merged this PR months ago. Merging now. Its weird, I am using sanic-restplus on sanic 20.9 without any problem on two production deployments.

Sweet, thanks for merging. I was using it with sanic 20.12

ashleysommer commented 3 years ago

Ok. Sanic 20.12 was only released a couple of days ago. I have not done any testing of any of my Sanic plugins against Sanic 20.12 yet (will start soon though).

stikks commented 3 years ago

Ok. Sanic 20.12 was only released a couple of days ago. I have not done any testing of any of my Sanic plugins against Sanic 20.12 yet (will start soon though).

oh I see. Thanks for merging this. I'm assuming the changes will be available in the next release

ashleysommer commented 3 years ago

Hi @stikks Yes, this change is now released as part of v0.5.5