Skip to main content

GetDataFunction

A function for retrieving data from a Dataset.

It simplifies the process of accessing data from a Dataset. It opens the specified one and retrieves data based on the provided parameters. It allows filtering and pagination.

Index

Methods

Methods

__call__

  • Call dunder method.


    Parameters

    • optionalkeyword-onlydataset_id: str | None = None

      ID of the Dataset to get data from.

    • optionalkeyword-onlydataset_name: str | None = None

      Name of the Dataset to get data from.

    • keyword-onlyoffset: int

      Skips the specified number of items at the start.

    • keyword-onlylimit: int

      The maximum number of items to retrieve. Unlimited if None.

    • keyword-onlyclean: bool

      Return only non-empty items and excludes hidden fields. Shortcut for skip_hidden and skip_empty.

    • keyword-onlydesc: bool

      Set to True to sort results in descending order.

    • keyword-onlyfields: list[str]

      Fields to include in each item. Sorts fields as specified if provided.

    • keyword-onlyomit: list[str]

      Fields to exclude from each item.

    • keyword-onlyunwind: str

      Unwinds items by a specified array field, turning each element into a separate item.

    • keyword-onlyskip_empty: bool

      Excludes empty items from the results if True.

    • keyword-onlyskip_hidden: bool

      Excludes fields starting with '#' if True.

    • keyword-onlyflatten: list[str]

      Fields to be flattened in returned items.

    • keyword-onlyview: str

      Specifies the dataset view to be used.

    Returns Coroutine[None, None, DatasetItemsListPage]

Page Options