Clean up typechecking and related documentation in pymongo.cursor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Hackett
            Reporter:
            Amalia Hawkins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: