Skip to content

Commit 090e6e1

Browse files
committed
Fix read the docs issue #2751
1 parent 4e3ce24 commit 090e6e1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mongoengine/queryset/base.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def search_text(self, text, language=None):
237237
for the search and the rules for the stemmer and tokenizer.
238238
If not specified, the search uses the default language of the index.
239239
For supported languages, see
240-
`Text Search Languages <http://docs.mongodb.org/manual/reference/text-search-languages/#text-search-languages>`.
240+
`Text Search Languages <https://docs.mongodb.org/manual/reference/text-search-languages/#text-search-languages>`.
241241
"""
242242
queryset = self.clone()
243243
if queryset._search_text:
@@ -255,7 +255,7 @@ def search_text(self, text, language=None):
255255
return queryset
256256

257257
def get(self, *q_objs, **query):
258-
"""Retrieve the the matching object raising
258+
"""Retrieve the matching object raising
259259
:class:`~mongoengine.queryset.MultipleObjectsReturned` or
260260
`DocumentName.MultipleObjectsReturned` exception if multiple results
261261
and :class:`~mongoengine.queryset.DoesNotExist` or
@@ -1296,10 +1296,10 @@ def from_json(self, json_data):
12961296
return [self._document._from_son(data) for data in son_data]
12971297

12981298
def aggregate(self, pipeline, *suppl_pipeline, **kwargs):
1299-
"""Perform a aggregate function based in your queryset params
1299+
"""Perform an aggregate function based on your queryset params
13001300
1301-
:param pipeline: list of aggregation commands,\
1302-
see: http://docs.mongodb.org/manual/core/aggregation-pipeline/
1301+
:param pipeline: list of aggregation commands,
1302+
see: https://www.mongodb.com/docs/manual/core/aggregation-pipeline/
13031303
:param suppl_pipeline: unpacked list of pipeline (added to support deprecation of the old interface)
13041304
parameter will be removed shortly
13051305
:param kwargs: (optional) kwargs dictionary to be passed to pymongo's aggregate call

0 commit comments

Comments
 (0)