-
Notifications
You must be signed in to change notification settings - Fork 0
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 server name check #2
Conversation
Need support for server_hostname option since my hack does not work anymore on 3.10
WalkthroughThe recent changes streamline the project by updating the GitHub Actions workflow to focus on more recent Python versions, removing support for Python 3.7. Additionally, the Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant HueSyncBox
participant SSLManager
User->>HueSyncBox: Initiate Request
HueSyncBox->>SSLManager: Validate SSL with self._id
SSLManager-->>HueSyncBox: SSL Validation Result
HueSyncBox-->>User: Return Response
TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (3)
- .github/workflows/python-package.yml (1 hunks)
- aiohuesyncbox/huesyncbox.py (5 hunks)
- requirements.txt (1 hunks)
Files skipped from review due to trivial changes (1)
- .github/workflows/python-package.yml
Additional comments not posted (3)
requirements.txt (1)
1-1
: LGTM!The version constraint for
aiohttp
ensures compatibility with the necessary features introduced in version 3.9.0 while preventing breaking changes in version 4.0.0 and above.aiohuesyncbox/huesyncbox.py (2)
157-157
: LGTM!The URL construction now directly uses
self._host
, simplifying the logic.
167-167
: LGTM!The
server_hostname
parameter is correctly set toself._id
, aligning with the new functionality introduced in aiohttp 3.9.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
My hacky server name inserter does not work anymore with aiohttp >=3.10.
Luckily support for this feature was added in 3.9 with the
server_hostname
option.Summary by CodeRabbit
New Features
Bug Fixes
Chores