Skip to content

Commit

Permalink
Skip creating task in gather.
Browse files Browse the repository at this point in the history
  • Loading branch information
denpamusic committed Jun 4, 2024
1 parent c60faf8 commit 3742dcb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyplumio/devices/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ async def async_setup(self) -> bool:
"""Set up addressable device."""
results = await asyncio.gather(
*{
self.create_task(
self.request(description.provides, description.frame_type)
)
self.request(description.provides, description.frame_type)
for description in self._setup_frames
},
return_exceptions=True,
Expand Down

0 comments on commit 3742dcb

Please sign in to comment.