Skip to content

Commit 0dc1b24

Browse files
committed
PYTHON 2679
1 parent 2eb0df8 commit 0dc1b24

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.nova/Configuration.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"editor.default_syntax" : "python",
3+
"pyls.plugins.jedi.workspace.environment" : "\/Users\/julius\/Work\/mongo-python-driver\/venvs\/python3.8\/bin\/activate",
4+
"python.interpreter" : "\/Users\/julius\/Work\/mongo-python-driver\/venvs\/python3.8\/bin\/python3"
5+
}

.nova/Tasks/Python Debug.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extension" : {
3+
"identifier" : "panic.Python",
4+
"name" : "Python"
5+
},
6+
"extensionTemplate" : "pythonDebug",
7+
"extensionValues" : {
8+
"python.debug.module" : "pymongo"
9+
}
10+
}

pymongo/mongo_client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,9 @@ def __init__(
716716
if creds:
717717
self.__all_credentials[creds.source] = creds
718718

719+
if options.direct_connection is None:
720+
options.direct_connection = False
721+
719722
self._topology_settings = TopologySettings(
720723
seeds=seeds,
721724
replica_set_name=options.replica_set_name,

0 commit comments

Comments
 (0)