<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_indexes(self, schema, **kwargs):
 """ get all the indexes schema -- Schema() return -- dict -- the indexes in {indexname: fields} format """

        with self.connection(**kwargs) as connection:
            kwargs['connection'] = connection
            return self._get_indexes(schema, **kwargs)