Reformat with black
This commit is contained in:
parent
d3d7f0e670
commit
90fecc56dd
@ -1193,9 +1193,7 @@ 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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user