Skip to main content

ApifyFileSystemDatasetClient

Apify-specific implementation of the FileSystemDatasetClient.

It extends the functionality of FileSystemDatasetClient using DatasetClientPpeMixin and updates push_data to limit and charge for the synthetic apify-default-dataset-item event. This is necessary for consistent behavior when locally testing the PAY_PER_EVENT pricing model.

Hierarchy

Index

Methods

__init__

  • __init__(): None

open

  • async open(*, id, name, alias, configuration): Self
  • Parameters

    • keyword-onlyid: str | None
    • keyword-onlyname: str | None
    • keyword-onlyalias: str | None
    • keyword-onlyconfiguration: Configuration

    Returns Self

push_data

  • async push_data(data): None
  • Parameters

    • data: list[dict[str, Any]] | dict[str, Any]

    Returns None

Page Options