MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / unmanaged_single_client

Method unmanaged_single_client

test/__init__.py:1049–1053  ·  view source on GitHub ↗

Make a direct connection. Don't authenticate.

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

Source from the content-addressed store, hash-verified

1047
1048 @classmethod
1049 def unmanaged_single_client(
1050 cls, h: Any = None, p: Any = None, **kwargs: Any
1051 ) -> MongoClient[dict]:
1052 """Make a direct connection. Don't authenticate."""
1053 return cls._unmanaged_async_mongo_client(h, p, directConnection=True, **kwargs)
1054
1055 @classmethod
1056 def unmanaged_rs_client(cls, h: Any = None, p: Any = None, **kwargs: Any) -> MongoClient[dict]:

Callers 1

create_clientMethod · 0.80

Calls 1

Tested by 1

create_clientMethod · 0.64