Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-526

Remove previously deprecated methods and options.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Deprecated configuration options removed as part of this ticket

      • network_timeout (both as a client option and query option)
      • safe (both as a client option and an option for insert, save, update, and remove)
      • slaveOk/slave_okay (both as a client option and a query option)
      • compile_re support is removed from all methods that supported it in the bson, gridfs, and pymongo modules. BSON regular expressions will always decode to bson.regex.Regex.
      • secondaryAcceptableLatencyMS renamed localThresholdMS and changed to a global immutable option.

      Deprecated methods removed as part of this ticket

      • set_lasterror_options (on MongoClient, Database, and Collection)
      • get_lasterror_options (on MongoClient, Database, and Collection)
      • unset_lasterror_options (on MongoClient, Database, and Collection)

      See the PyMongo 3.0 changelog for a comprehensive list of all other API changes.

            bernie@mongodb.com Bernie Hackett
            bernie@mongodb.com Bernie Hackett
            0 Vote for this issue
            3 Start watching this issue