ImportError: cannot import name 'get_goals_by_type' from 'goal_utils' Changes: - body_metrics.py: Use get_active_goals() + filter by type_key - nutrition_metrics.py: Remove unused import (dead code) Result: Score functions no longer crash on import error. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| activity_metrics.py | ||
| body_metrics.py | ||
| correlation_metrics.py | ||
| nutrition_metrics.py | ||
| recovery_metrics.py | ||
| scores.py | ||