You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Definitively resolve UnboundLocalError for timestamp tracking
- Addresses a persistent `UnboundLocalError` related to `latest_overall_review_activity_dt`.
- While the variable was initialized at the top of `main()`, to ensure robust scoping within the loop that processes overall reviews, a temporary variable (`temp_latest_overall_review_dt`) is now used for accumulating the latest timestamp within that specific loop.
- The main `latest_overall_review_activity_dt` is then updated from this temporary variable if any overall review timestamps were processed.
- This change ensures the variable is always defined before use in the conditional check that was causing the error.
(This commit also includes prior changes for removing the absl-py dependency and refactoring logging, which were part of the same active development session.)
0 commit comments