Fix: add future annotations to all files, fix date field name shadowing type in RewardRedeemRequest

This commit is contained in:
claude 2026-03-15 00:42:13 +00:00
parent 16d00fbd1b
commit 7846e3445d
32 changed files with 70 additions and 5 deletions

View file

@ -1,3 +1,5 @@
from __future__ import annotations
"""Open Food Facts API client for barcode scanning and food search."""
import httpx
from app.schemas.food import FoodSearchResult

View file

@ -1,3 +1,5 @@
from __future__ import annotations
"""Points calculation engine — the heart of the reward system."""
import uuid
from datetime import date, timedelta

View file

@ -1,3 +1,5 @@
from __future__ import annotations
"""Polar AccessLink API client for activity sync."""
import uuid
from datetime import datetime, timezone

View file

@ -1,3 +1,5 @@
from __future__ import annotations
"""Resource recommendation engine — matches external programs to user profiles."""
import uuid
from sqlalchemy import select

View file

@ -1,3 +1,5 @@
from __future__ import annotations
"""Strava API client for activity sync."""
import uuid
from datetime import datetime, timezone