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

Using asyncio on jupyter notebook #1554

Open
5 of 6 tasks
Cy-47 opened this issue Feb 24, 2024 · 0 comments
Open
5 of 6 tasks

Using asyncio on jupyter notebook #1554

Cy-47 opened this issue Feb 24, 2024 · 0 comments

Comments

@Cy-47
Copy link

Cy-47 commented Feb 24, 2024

  • I have marked all applicable categories:
    • documentation request (i.e. "X is missing from the documentation." If instead I want to ask "how to use X?" I understand StackOverflow#tqdm is more appropriate)
    • new feature request
  • I have visited the source website, and in particular
    read the known issues
  • I have searched through the issue tracker for duplicates
  • I have mentioned version numbers, operating system and
    environment, where applicable:
    import tqdm, sys
    print(tqdm.__version__, sys.version, sys.platform)

Currently, only tqdm.asyncio, which is incompatible with notebook (broken for nested loops), supports gather. For notebooks using tqdm.notebook, it is only possible to iterate through tqdm(asyncio.as_completed(requests)). When the order of the return values is important, this is unusable. Please support gather for tqdm.notebook, thanks! (Also maybe consider letting notebook and terminal tqdm classes have access to the same async functions, e.g. inherit it)

Screenshot 2024-02-23 at 10 36 37 PM
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

No branches or pull requests

1 participant