Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asyncio tasks should be stored #85

Open
Era-Dorta opened this issue Jan 5, 2025 · 0 comments
Open

Asyncio tasks should be stored #85

Era-Dorta opened this issue Jan 5, 2025 · 0 comments
Assignees

Comments

@Era-Dorta
Copy link
Collaborator

The task reference for each asyncio.create_task call should be stored in a variable, as explained here.
https://docs.astral.sh/ruff/rules/asyncio-dangling-task/ Otherwise the tasks might be killed mid execution.

@Era-Dorta Era-Dorta self-assigned this Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant