Skip to content

Commit

Permalink
Fix: pymongo requires pymongo.collection import
Browse files Browse the repository at this point in the history
The current version of pymongo doesn't define `pymongo.collection`
unless you import it explicitly.
  • Loading branch information
jikamens committed Sep 28, 2024
1 parent 77fc125 commit d1d7184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mongodb_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from functools import wraps
import logging
import pymongo
import pymongo.collection
import time

log = logging.getLogger(__name__)
Expand Down

0 comments on commit d1d7184

Please sign in to comment.