def _fix_incoming(self, son, collection):
        son = self._apply_incoming_manipulators(son, collection)
        son = self._apply_incoming_copying_manipulators(son, collection)
        return son
Apply manipulators to an incoming SON object before it gets stored.
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/database.py/Database._fix_incoming