Skip to content

featurebyte.ObservationTable.download

download(
output_path: Union[str, Path, NoneType]=None
) -> Path

Description

Downloads the observation table from the database.

Parameters

  • output_path: Union[str, Path, NoneType]
    Location to save downloaded parquet file.

Returns

  • Path

Raises

  • FileExistsError
    File already exists at output path.

  • RecordRetrievalException
    Error retrieving record from API.

Examples

>>> observation_table = catalog.get_observation_table("observation_table_name")
>>> downloaded_path = observation_table.download(output_path="path/to/download")