Skip to content

Commit

Permalink
Expose async_view_for_class.view_class for test_routes test
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Aug 7, 2023
1 parent e2b60f5 commit f2a110f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datasette/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1716,6 +1716,7 @@ async def async_view_for_class(request, send):
datasette=datasette,
)

async_view_for_class.view_class = view_class
return async_view_for_class


Expand Down

0 comments on commit f2a110f

Please sign in to comment.