Can't import AsyncGridFs from gridfs

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Unknown
    • None
    • Affects Version/s: 4.13.2
    • Component/s: GridFS
    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Detailed steps to reproduce the problem?

      Try to import AsyncGridFs at the start of the module. VsCode says AsyncGridFs can't be found.

      from gridfs.asynchronous import AsyncGridFs

      Definition of done: what must be done to consider the task complete?

      I can succesfully import AsyncGridFs

      The exact Python version used, with patch level:

      $ python -c "import sys; print(sys.version)"

       3.11.0rc1 (main, Aug 12 2022, 10:02:14) [GCC 11.2.0]

      The exact version of PyMongo used, with patch level:

      $ python -c "import pymongo; print(pymongo.version); print(pymongo.has_c())"

      4.13.2

      True

      Describe how MongoDB is set up. Local vs Hosted, version, topology, load balanced, etc.

      Local but not related to the problem.

      The operating system and version (e.g. Windows 7, OSX 10.8, ...)

      Ubuntu 22.04

      Web framework or asynchronous network library used, if any, with version (e.g. Django 1.7, mod_wsgi 4.3.0, gevent 1.0.1, Tornado 4.0.2, ...)

      FastAPI 0.116.1

      Security Vulnerabilities

      If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here

        1. image-2026-04-10-16-52-32-611.png
          13 kB
          Furkan Y.
        2. image-2026-04-10-16-55-37-161.png
          23 kB
          Furkan Y.

            Assignee:
            Noah Stapp
            Reporter:
            Furkan Y.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: