async def test_in_bulk(self):
    id_list = [item.pk for item in (await IntFields.all().only('id').limit(2))]
    ret = (await IntFields.in_bulk(id_list=id_list))
    self.assertEqual(list(ret.keys()), id_list)
async def test_in_bulk(self):
    id_list = [item.pk for item in (await IntFields.all().only('id').limit(2))]
    ret = (await IntFields.in_bulk(id_list=id_list))
    self.assertEqual(list(ret.keys()), id_list)