ExchangeRateParquetSnapshot

Documentation for eth_defi.currency_api.parquet.ExchangeRateParquetSnapshot Python class.

class ExchangeRateParquetSnapshot

Bases: object

Verified cleaned exchange-rate Parquet snapshot.

Attributes summary

path

Local destination path of the materialised Parquet file.

row_count

Number of cleaned exchange-rate rows in the snapshot.

sha256

SHA-256 digest of the byte-identical local Parquet file.

Methods summary

__init__(path, row_count, sha256)

path: pathlib.Path

Local destination path of the materialised Parquet file.

row_count: int

Number of cleaned exchange-rate rows in the snapshot.

sha256: str

SHA-256 digest of the byte-identical local Parquet file.

__init__(path, row_count, sha256)
Parameters
Return type

None