Skip to content

Can't get async iterator to work #3352

Discussion options

You must be logged in to vote

__anext__ should return a python awaitable. Here you have implemented a sync iterable, consider switching to use __iter__ and __next__.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ShaneMurphy2
Comment options

@davidhewitt
Comment options

@ShaneMurphy2
Comment options

@davidhewitt
Comment options

@ShaneMurphy2
Comment options

Answer selected by aspcompiler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3351 on July 29, 2023 04:09.