Skip to content

feat: implement backend connection checks and add no_backend_required… #117

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

Merged

Conversation

robberwick
Copy link
Collaborator

This pull request introduces several changes to the blinkstick package, focusing on adding backend connection checks and improving the structure and functionality of the codebase. The most important changes include adding a new decorator to manage backend requirements, implementing a new exception for connection issues, and updating tests to reflect these changes.

Backend connection management:

Exception handling:

Testing updates:

  • tests/clients/test_blinkstick.py: Updated tests to include checks for backend connection requirements and added a new test to ensure all methods require a backend.

Import reorganization:

@robberwick robberwick requested a review from Copilot February 15, 2025 11:11
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

@robberwick robberwick merged commit fce5a6e into arvydas:release/2.0-dev Feb 15, 2025
17 checks passed
@robberwick robberwick deleted the not-connected-exception branch February 15, 2025 11:13
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

Successfully merging this pull request may close these issues.

1 participant