Getting error on response from function

I’ve been using Sanic on my GCP instance for two months now, however i had to restart it and all my configuration went blown.

Trying to reinitialize it, i got this error:

Traceback (most recent call last):
0|server | File “/opt/soporteventasdiemo/port/”, line 160, in
0|server | async def partner_add(request, token:Token):
0|server | File “/usr/local/lib/python3.7/dist-packages/sanic_openapi/”, line 332, in inner
0|server | route_specs[func].response.append((status_code, routefield))
0|server | TypeError: unhashable type: ‘list’

I’ve tried reinstalling dependencies but nothing works, anyone has faced this issue before?

I have not. But I also am not a heavy user of sanic-openapi. @chenjr0719?

Sorry guys, I have been busy with my new job for a few months ago. Does this issue is the same as #163 on GitHub? If so, please move @app.route('/partner/add',['POST','OPTIONS']) before other decorator. All decorators from Sanic-OpenAPI can only apply to Sanic’s route. So, please make sure all the decorator is behind app.routet(), thanks.