PushDataFunction | API | Crawlee for Python · Fast, reliable Python web crawlers.
A function for pushing data to a Dataset.
It simplifies the process of adding data to a Dataset. It opens the specified one and pushes
the provided data to it.
Index
Methods
__call__
- __call__(data, dataset_id, dataset_name, dataset_alias): Coroutine[None, None, None]
Parameters
data: list[dict[str, Any]] | dict[str, Any]
The data to push to the
Dataset.optionaldataset_id: str | None = None
The ID of the
Datasetto push the data to.optionaldataset_name: str | None = None
The name of the
Datasetto push the data to (global scope, named storage).optionaldataset_alias: str | None = None
The alias of the
Datasetto push the data to (run scope, unnamed storage).
Returns Coroutine[None, None, None]