Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "macrocosmos"
version = "1.0.4"
version = "1.0.5"
description = "The official Python SDK for Macrocosmos"
readme = "README.md"
license = "Apache-2.0"
Expand Down
3 changes: 3 additions & 0 deletions src/macrocosmos/resources/gravity.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ def CreateGravityTask(
def BuildDataset(
self,
crawler_id: str,
max_rows: int,
notification_requests: List[
Union[gravity_p2p.NotificationRequest, Dict]
] = None,
Expand All @@ -361,6 +362,7 @@ def BuildDataset(

Args:
crawler_id: The ID of the crawler to build a dataset for.
max_rows: The maximum number of rows to include in the dataset.
notification_requests: The details of the notifications to be sent (optional).

Returns:
Expand All @@ -369,6 +371,7 @@ def BuildDataset(
return asyncio.run(
self._async_gravity.BuildDataset(
crawler_id=crawler_id,
max_rows=max_rows,
notification_requests=notification_requests,
)
)
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.