Reformat repo with pre-commit hooks
This commit is contained in:
		| @@ -10,4 +10,3 @@ If this is a requirement for your project, check the alternative:  `uMongo`_ and | ||||
|  | ||||
| .. _uMongo: https://umongo.readthedocs.io/ | ||||
| .. _MotorEngine: https://motorengine.readthedocs.io/ | ||||
|  | ||||
|   | ||||
| @@ -91,4 +91,3 @@ Indices and tables | ||||
| * :ref:`genindex` | ||||
| * :ref:`modindex` | ||||
| * :ref:`search` | ||||
|  | ||||
|   | ||||
| @@ -1193,7 +1193,9 @@ class BaseQuerySet(object): | ||||
|         validate_read_preference("read_preference", read_preference) | ||||
|         queryset = self.clone() | ||||
|         queryset._read_preference = read_preference | ||||
|         queryset._cursor_obj = None  # we need to re-create the cursor object whenever we apply read_preference | ||||
|         queryset._cursor_obj = ( | ||||
|             None | ||||
|         )  # we need to re-create the cursor object whenever we apply read_preference | ||||
|         return queryset | ||||
|  | ||||
|     def scalar(self, *fields): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user