def max_scan(self, max_scan):
        self.__check_okay_to_chain()
        self.__max_scan = max_scan
        return self
Limit the number of documents to scan when performing the query.
dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/cursor.py/Cursor.max_scan