upload_sparklines

Documentation for eth_defi.research.sparkline_export.upload_sparklines function.

upload_sparklines(s3_client, bucket_name, render_data, max_workers)

Upload a bounded image list using the configured thread count.

Each task publishes one vault’s SVG and PNG while retaining the existing conditional upload and partial-failure behaviour.

This compatibility helper retains the standalone script’s previous public API. The production coordinator uploads per-vault asset sets directly so one partial set cannot be mistaken for a complete publication.

Parameters
Returns

Number of uploaded and unchanged objects.

Return type

tuple[int, int]