@property
    def read_preference(self):
        return self.__read_preference
Enable or disable autocommit.
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/common.py/BaseObject.read_preference--crossover with--dataset/ETHPy150Open django/django/django/db/backends/base/base.py/BaseDatabaseWrapper.set_autocommit