MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / rs_client_noauth

Method rs_client_noauth

test/__init__.py:1091–1093  ·  view source on GitHub ↗

Connect to the replica set. Don't authenticate.

(self, h: Any = None, p: Any = None, **kwargs: Any)

Source from the content-addressed store, hash-verified

1089 return self._async_mongo_client(h, p, directConnection=True, **kwargs)
1090
1091 def rs_client_noauth(self, h: Any = None, p: Any = None, **kwargs: Any) -> MongoClient[dict]:
1092 """Connect to the replica set. Don't authenticate."""
1093 return self._async_mongo_client(h, p, authenticate=False, **kwargs)
1094
1095 def rs_client(self, h: Any = None, p: Any = None, **kwargs: Any) -> MongoClient[dict]:
1096 """Connect to the replica set and authenticate if necessary."""

Callers

nothing calls this directly

Calls 1

_async_mongo_clientMethod · 0.95

Tested by

no test coverage detected