Skip to content

Conversation

@zxzxwu
Copy link
Collaborator

@zxzxwu zxzxwu commented May 18, 2025

connection parameter for CharacteristicValue is almost always not None. The only exception is when read for str, but it's not a necessary usage.

This doesn't affect AttributeValue instances which have marked connection as Optional[Connection] because it is allowed to have a wider type on derived.

@zxzxwu zxzxwu changed the title Replace Optional[Connection] att parameter type Replace Optional[Connection] AttributeValue parameter type May 18, 2025
@zxzxwu zxzxwu requested a review from barbibulle May 18, 2025 08:18
@zxzxwu zxzxwu merged commit 3b399ea into google:main May 19, 2025
57 checks passed
@zxzxwu zxzxwu deleted the att branch June 10, 2025 04:32
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.

2 participants