Skip to content

Commit 5087d70

Browse files
committed
build: rtd configuration
1 parent 7a05e46 commit 5087d70

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.readthedocs.yml

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
# Required
66
version: 2
77

8+
# Add this build section
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.8"
13+
14+
815
# Build documentation in the docs/ directory with Sphinx
916
sphinx:
1017
configuration: docs/source/conf.py

datastream/dataset.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def composed_fn(dataframe, index):
200200
get_item=composed_fn,
201201
)
202202

203-
def starmap(self: Dataset[T], function: Callable[Union[..., R]]) -> Dataset[R]:
203+
def starmap(self: Dataset[T], function: Callable[..., R]) -> Dataset[R]:
204204
"""
205205
Creates a new dataset with the function added to the dataset pipeline.
206206
The dataset's pipeline should return an iterable that will be

0 commit comments

Comments
 (0)