Fix find_one documentation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Trivial - P5
    • 3.3
    • Affects Version/s: 3.0, 3.1, 3.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      According to the code the signature differs:

      def find_one(self, filter=None, *args, **kwargs)
      

      But in the documentation, find_one signature is:

      find_one(filter_or_id=None, *args, **kwargs)
      

      I check the error in version 3.0 and 3.2.2 (I assume then the error is for pymongo>=3.0)

              Assignee:
              Bernie Hackett
              Reporter:
              Emmanuel Leblond [X]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: