Skip to content

Commit d8cd9c1

Browse files
authored
Fix return type in the DatasetClient.list_items() method docs (#63)
1 parent f85be1c commit d8cd9c1

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ Changelog
1313

1414
- improved support for storing more data types in datasets
1515

16+
### Fixed
17+
18+
- fixed return type in the `DatasetClient.list_items()` method docs
19+
1620
[0.2.0](../../releases/tag/v0.2.0) - 2021-08-09
1721
-----------------------------------------------
1822

docs/docs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,11 +1404,11 @@ List the items of the dataset.
14041404

14051405
* **Returns**
14061406

1407-
The dataset items
1407+
A page of the list of dataset items according to the specified filters.
14081408

14091409
* **Return type**
14101410

1411-
`dict`
1411+
[`ListPage`](#listpage)
14121412

14131413
***
14141414

src/apify_client/clients/resource_clients/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def list_items(
8888
skip_hidden (bool, optional): If True, then hidden fields are skipped from the output, i.e. fields starting with the # character.
8989
9090
Returns:
91-
dict: The dataset items
91+
ListPage: A page of the list of dataset items according to the specified filters.
9292
"""
9393
request_params = self._params(
9494
offset=offset,

0 commit comments

Comments
 (0)