Skip to content

Commit

Permalink
mongo 传参支持自定义
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris-code committed Aug 26, 2024
1 parent 3eed4c4 commit 615d36a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion feapder/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.1-beta2
1.9.1-beta3
2 changes: 1 addition & 1 deletion feapder/db/mongodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(
self.client = MongoClient(url, **kwargs)
else:
self.client = MongoClient(
host=ip, port=port, username=user_name, password=user_pass
host=ip, port=port, username=user_name, password=user_pass, **kwargs
)

self.db = self.get_database(db)
Expand Down

0 comments on commit 615d36a

Please sign in to comment.