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

Add type annotations to controllers/multizone.py #800

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

emontnemery
Copy link
Collaborator

No description provided.

@abc.abstractmethod
def multizone_status_received(self):
"""Multizone status has been updated."""
return self._groups[str(group_uuid)]["chromecast"].media_controller # type: ignore[no-any-return]
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The mypy ignore will be removed in an upcoming PR which adds type annotations to the Chromecast class

Copy link
Contributor

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

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

Thanks!

@MartinHjelmare MartinHjelmare merged commit b2546f4 into master Jan 26, 2024
1 check passed
@MartinHjelmare MartinHjelmare deleted the type_annotations_controllers_multizone branch January 26, 2024 18:08
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