Adds BackgroundTasks to the card render endpoint. After rendering a variant card (variant > 0) where image_url is None, schedules backfill_variant_image_url to upload the PNG to S3 and populate image_url on the card row. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| models | ||
| routers_v2 | ||
| seed | ||
| services | ||
| __init__.py | ||
| card_creation.py | ||
| db_engine.py | ||
| db_helpers.py | ||
| dependencies.py | ||
| main.py | ||
| player_scouting.py | ||