I am using the Odoo 13 api as such.
wanted_ids= models.execute_kw(db, uid, password, \'res.partner\', \'search_read\