We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96ddb0 commit dea4086Copy full SHA for dea4086
1 file changed
returns/future.py
@@ -1170,7 +1170,7 @@ def __aiter__(self) -> AsyncIterator[_ValueType_co]: # noqa: WPS611
1170
"""API for :ref:`do-notation`."""
1171
1172
async def factory() -> AsyncGenerator[_ValueType_co, None]:
1173
- for inner_value in await self._inner_value:
+ for inner_value in await self._inner_value: # pragma: no branch
1174
yield inner_value # will only yield once
1175
1176
return factory()
0 commit comments