mongo-python-driver/gridfs
Bernie Hackett f6a260c683 PYTHON-805 - Add with_options and remove per helper read_preference
This change removes the read_preference parameter from various
command helpers on the Collection object. Those options were
never shipped in a PyMongo release. It also documents which
helpers obey Collection.read_preference.

The bigger change is the removal of the read_preference, tag_sets,
and secondary_acceptable_latency_ms params from find() and find_one()
- a major backward breaking change. Collection.with_options
is intended to replace their use.

coll.find(read_preference=ReadPreference.SECONDARY)

changes to

coll.with_options(read_preference=ReadPreference.SECONDARY).find()
2014-12-17 15:06:03 -08:00
..
__init__.py PYTHON-805 - Add with_options and remove per helper read_preference 2014-12-17 15:06:03 -08:00
errors.py Remove GridFS.open and close, and GridFile. 2014-10-31 14:15:25 -04:00
grid_file.py PYTHON-805 - Add with_options and remove per helper read_preference 2014-12-17 15:06:03 -08:00