(self, client)
Instantiate the manager.

        :Parameters:
          - `client`: a MongoClient
Instantiate the manager.
Instantiate the manager .
def __init__(self, client):
        """Instantiate the manager.

        :Parameters:
          - `client`: a MongoClient
        """
        warnings.warn(
            "Cursor managers are deprecated.",
            DeprecationWarning,
            stacklevel=2)
        self.__client = weakref.ref(client)
def __init__ ( self , client ) : warnings . warn ( "Cursor managers are deprecated." , DeprecationWarning , stacklevel = 2 ) self . __client = weakref . ref ( client )