<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def edit_shares(self, id, user_ids):
 # pylint: disable=invalid-name,redefined-builtin """Edit shares for a config. :param id: Config ID as an int. :param user_ids: User IDs as int list. :return: :class:`cdrouter.Share <cdrouter.Share>` list """

        return self.service.edit_shares(self.base, id, user_ids)