Skip to content

Commit d0b97d1

Browse files
committed
add reference to gridfs docs
1 parent e8fc3ef commit d0b97d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flask_pymongo/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ def save_upload(filename):
230230
:param str content_type: the MIME content-type of the file. If
231231
``None``, the content-type is guessed from the filename using
232232
:func:`~mimetypes.guess_type`
233-
:param kwargs: extra attributes to be stored in the file's document
233+
:param kwargs: extra attributes to be stored in the file's document,
234+
passed directly to :meth:`gridfs.GridFS.put`
234235
"""
235236
if not isinstance(base, text_type):
236237
raise TypeError("'base' must be string or unicode")

0 commit comments

Comments
 (0)