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

fix: async timeout does not support context manager error #164

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

jcwillox
Copy link
Owner

Fixes: #159

@jcwillox jcwillox requested a review from Copilot November 19, 2024 07:26

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 3 changed files in this pull request and generated no suggestions.

Files not reviewed (1)
  • hacs.json: Language not supported
Comments skipped due to low confidence (2)

custom_components/auto_backup/handlers.py:97

  • Replace 'TimeoutError' with 'asyncio.TimeoutError' to be specific to asyncio operations.
except TimeoutError:

custom_components/auto_backup/handlers.py:155

  • Replace 'TimeoutError' with 'asyncio.TimeoutError' to be specific to asyncio operations.
except TimeoutError:
@jcwillox jcwillox merged commit 4469e4d into main Nov 19, 2024
3 checks passed
@jcwillox jcwillox deleted the fix/async-timeout branch November 19, 2024 08:08
Copy link

🎉 This PR is included in version 1.5.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backups failing - 'Timeout' object does not support the context manager protocol
1 participant