Skip to content

Commit 0af7b2c

Browse files
committed
Add Returns to docstring
1 parent add20c2 commit 0af7b2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/datasets/arrow_dataset.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,9 @@ def from_generator(
954954
features (:class:`Features`, optional): Dataset features.
955955
gen_kwargs(:obj:`dict`, optional): Keyword arguments to be passed to the `generator` callable.
956956
957+
Returns:
958+
:class:`Dataset`
959+
957960
Example:
958961
959962
```py

0 commit comments

Comments
 (0)