litellm/tests/unit/integrations/ternary
Aaron Sproul 32bf19bbef feat(focus): upload one UTC day per Ternary signed-URL PUT
Replace the multipart POST with chunking by a per-day signed-URL upload,
matching the Mavvrik destination's pattern. The logger partitions the raw
usage rows on `date` (dropping unparseable dates with a warning), then
transforms, enriches and delivers each day separately; one day's failure
is logged and the remaining days still upload, with a single error raised
at the end. The destination requests a signed URL for the day, validates it
is an HTTPS GCS URL, and PUTs the CSV with exactly the signed headers.

Removes the 30 MiB / 100k-row chunking, the X-Ternary-* upload headers and
the .partN filenames; a re-sent day overwrites its object, so retries stay
idempotent without them.
2026-10-07 17:04:29 +00:00
..
__init__.py feat(focus): add ternary destination for FOCUS export 2026-10-01 21:16:36 +00:00
test_ternary_logger.py feat(focus): upload one UTC day per Ternary signed-URL PUT 2026-10-07 17:04:29 +00:00