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

Clean up typechecking and related documentation in pymongo.cursor

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

      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.

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

              Created:
              Updated:
              Resolved: