def migrate(self, safe=True, _process_to_bson=True):
        self._migrate(safe=safe)
migrate the document following the migration_handler rules
dataset/ETHPy150Open namlook/mongokit/mongokit/document.py/Document.migrate