Make a direct connection, and authenticate if necessary.
(self, h: Any = None, p: Any = None, **kwargs: Any)
| 1085 | return self._async_mongo_client(h, p, authenticate=False, directConnection=True, **kwargs) |
| 1086 | |
| 1087 | def single_client(self, h: Any = None, p: Any = None, **kwargs: Any) -> MongoClient[dict]: |
| 1088 | """Make a direct connection, and authenticate if necessary.""" |
| 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.""" |