code: def find_one(self, *args, **kwargs):
          
          doc = self._collection_with_options(kwargs).find_one(*args, **kwargs)
          if doc is None:
              return None
  
          return doc
docs: Get a single document from the database.