'Get all devices (with any device keys) for a user
Returns:
(stream_id, devices)'

def get_devices_with_keys_by_user(self, user_id):

    return self.runInteraction('get_devices_with_keys_by_user', self._get_devices_with_keys_by_user_txn, user_id)
