

def max_time_ms(self, max_time_ms):
    'Specifies a time limit for a query operation. If the specified\n        time is exceeded, the operation will be aborted and\n        :exc:`~pymongo.errors.ExecutionTimeout` is raised. If `max_time_ms`\n        is ``None`` no limit is applied.\n\n        Raises :exc:`TypeError` if `max_time_ms` is not an integer or ``None``.\n        Raises :exc:`~pymongo.errors.InvalidOperation` if this :class:`Cursor`\n        has already been used.\n\n        :Parameters:\n          - `max_time_ms`: the time limit after which the operation is aborted\n        '
    if ((not isinstance(max_time_ms, (int, long))) and (max_time_ms is not None)):
        raise TypeError('max_time_ms must be an integer or None')
    self.__check_okay_to_chain()
    self.__max_time_ms = self
    return self

dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/cursor.py Cursor.max_time_ms/VarMisuse@57/303 `max_time_ms`->`self`