async def get_all_tests(): all_moods = TestModel.all() results = await TestSchema.from_queryset(all_moods) return results