'Enable or disable snapshot mode when querying.
:param enabled: whether or not snapshot mode is enabled
..versionchanged:: 0.5 - made chainable
.. deprecated:: Ignored with PyMongo 3+'

def snapshot(self, enabled):

    if IS_PYMONGO_3:
        msg = 'snapshot    is    deprecated    as    it    has    no    impact    when    using    PyMongo    3+.'
        warnings.warn(msg, DeprecationWarning)
    queryset = self.clone()
    queryset._snapshot = enabled
    return queryset
