Remove duplicate sheets.open_by_key() call in get_full_roster_from_sheets #30

Closed
opened 2026-02-20 06:51:55 +00:00 by cal · 1 comment
Owner

command_logic/logic_gameplay.py:1159-1161. sheets.open_by_key(this_team.gsheet) called twice back-to-back with no logic between. Unnecessary Google Sheets API round-trip.

`command_logic/logic_gameplay.py:1159-1161`. `sheets.open_by_key(this_team.gsheet)` called twice back-to-back with no logic between. Unnecessary Google Sheets API round-trip.
cal added the
performance
bug
labels 2026-02-20 06:51:55 +00:00
cal added the
ai-working
label 2026-03-05 09:30:58 +00:00
cal added
ai-pr-opened
and removed
ai-working
labels 2026-03-05 09:32:53 +00:00
Author
Owner

Opened PR #56 to fix this: #56

Removed the duplicate sheets.open_by_key(this_team.gsheet) call on line 1161, eliminating the unnecessary Google Sheets API round-trip.

Opened PR #56 to fix this: https://git.manticorum.com/cal/paper-dynasty-discord/pulls/56 Removed the duplicate `sheets.open_by_key(this_team.gsheet)` call on line 1161, eliminating the unnecessary Google Sheets API round-trip.
cal closed this issue 2026-03-10 18:26:31 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/paper-dynasty-discord#30
No description provided.