Skip to main content

PushDataFunction

crawlee.basic_crawler.types.PushDataFunction

Type of a function for pushing data to the dataset.

This helper method simplifies the process of pushing data to a dataset. It opens the specified dataset and then pushes the provided data to it.

Index

Methods

Methods

__call__

  • __call__(data, dataset_id, dataset_name, kwargs): Coroutine[None, None, None]
  • Parameters

    • data: JSONSerializable
    • dataset_id: str | None = None
    • dataset_name: str | None = None
    • kwargs: Unpack[PushDataKwargs]

    Returns Coroutine[None, None, None]