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

Clean up typechecking and related documentation in pymongo.cursor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.7
    • None
    • None

    Description

      Currently, fields like skip and limit have typechecking logic in pymongo.cursor. This should be factored out into pymongo.common validation for two reasons: first, it's cleaner. Second, the typechecking in pymongo.cursor is inconsistent (sometimes longs are accepted as well as ints, sometimes only ints are alright) depending on how the field is instantiated.

      Attachments

        Activity

          People

            bernie@mongodb.com Bernie Hackett
            amalia.hawkins@10gen.com Amalia Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: