You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "[path-to-python]/site-packages/datasette/app.py", line 1033, in route_path
response = await view(request, send)
File "[path-to-python]/site-packages/datasette/views/base.py", line 146, in view
request, **request.scope["url_route"]["kwargs"]
File "[path-to-python]/site-packages/datasette/views/base.py", line 118, in dispatch_request
return await handler(request, *args, **kwargs)
TypeError: object Response can't be used in 'await' expression
Making the options function in the DataView class async fixed it for me.
When I perform an OPTIONS request against a database or table datasette fails with an internal error.
All these tests result in the traceback below.
Making the
options
function in theDataView
class async fixed it for me.The text was updated successfully, but these errors were encountered: