Uploaded image for project: 'Motor'
  1. Motor
  2. MOTOR-1012

Update __all__ to allow partial imports without warnings

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.1
    • Affects Version/s: None
    • Component/s: asyncio
    • None

      When doing a partial import on motor_asyncio, you will get a warning if you import anything not explicitly included in _all_. This is a minor warning and does not break builds.

       

      https://github.com/mongodb/motor/blob/master/motor/motor_asyncio.py#L21

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            marenzie@pm.me M D
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: