def _query(self, users, query_continue=None, properties=None):

        params = {
            'action': "query",
            'list': "users"
        }
        params['ususers'] = self._items(users, type=str)
        params['usprop'] = self._items(properties, levels=self.PROPERTIES)
        if query_continue is not None:
            params.update(query_continue)

        doc = self.session.get(params)
        try:
            if 'query-continue' in doc:
                query_continue = doc['query-continue']['users']
            else:
                query_continue = None

            us_docs = doc['query']['users']

            return us_docs, query_continue

        except __HOLE__ as e:
            raise MalformedResponse(str(e), doc)
dataset/ETHPy150Open mediawiki-utilities/python-mediawiki-utilities/mw/api/collections/users.py/Users._query