Replace asyncio.get_event_loop() with asyncio.get_running_loop() #25

Closed
opened 2026-02-20 06:49:34 +00:00 by cal · 0 comments
Owner

Description

Nine calls to deprecated asyncio.get_event_loop() exist in: services/sheets_service.py:99, :141, :193, :263, :384, services/scorebug_service.py:110, services/draft_sheet_service.py:72, :155, :250. In Python 3.10+, this emits a DeprecationWarning and will eventually raise RuntimeError.

File Locations

  • services/sheets_service.py:99
  • services/sheets_service.py:141
  • services/sheets_service.py:193
  • services/sheets_service.py:263
  • services/sheets_service.py:384
  • services/scorebug_service.py:110
  • services/draft_sheet_service.py:72
  • services/draft_sheet_service.py:155
  • services/draft_sheet_service.py:250

Labels

bug, tech-debt

Priority

medium

## Description Nine calls to deprecated `asyncio.get_event_loop()` exist in: `services/sheets_service.py:99, :141, :193, :263, :384`, `services/scorebug_service.py:110`, `services/draft_sheet_service.py:72, :155, :250`. In Python 3.10+, this emits a DeprecationWarning and will eventually raise RuntimeError. ## File Locations - `services/sheets_service.py:99` - `services/sheets_service.py:141` - `services/sheets_service.py:193` - `services/sheets_service.py:263` - `services/sheets_service.py:384` - `services/scorebug_service.py:110` - `services/draft_sheet_service.py:72` - `services/draft_sheet_service.py:155` - `services/draft_sheet_service.py:250` ## Labels bug, tech-debt ## Priority medium
cal closed this issue 2026-02-20 20:29:07 +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/major-domo-v2#25
No description provided.