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

Another async generator breakage #492

Closed
scop opened this issue Jul 16, 2021 · 1 comment · Fixed by #493
Closed

Another async generator breakage #492

scop opened this issue Jul 16, 2021 · 1 comment · Fixed by #493

Comments

@scop
Copy link
Contributor

scop commented Jul 16, 2021

Here's another async generator breakage similar to #489 , still present in 2.21.1:

https://github.com/home-assistant/core/blob/da7b29285561d351d035e264911ff4d96b08799f/tests/components/vera/common.py#L102

            controller_data=tuple(
                [
                    await self._configure_component(hass, controller_config)
                    for controller_config in configs
                ]
            )

Removing that list comprehension results in the same TypeError: 'async_generator' object is not iterable

@MarcoGorelli
Copy link
Contributor

Thanks for raising another useful report!

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 a pull request may close this issue.

2 participants