Replace asyncio.get_event_loop() with asyncio.get_running_loop()
#25
Labels
No Label
ai-changes-requested
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
in-next-release
status/in-progress
status/pr-open
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-v2#25
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:99services/sheets_service.py:141services/sheets_service.py:193services/sheets_service.py:263services/sheets_service.py:384services/scorebug_service.py:110services/draft_sheet_service.py:72services/draft_sheet_service.py:155services/draft_sheet_service.py:250Labels
bug, tech-debt
Priority
medium