(self)
return self._server_property('max_bson_size')
The largest BSON object the connected server accepts in bytes.

        If the client is not connected, this will block until a connection is
        established or raise ServerSelectionTimeoutError if no server is
        available.
The largest BSON object the connected server accepts in bytes.
The largest BSON object the connected server accepts in bytes .
def max_bson_size(self):
        """The largest BSON object the connected server accepts in bytes.

        If the client is not connected, this will block until a connection is
        established or raise ServerSelectionTimeoutError if no server is
        available.
        """
        return self._server_property('max_bson_size')
def max_bson_size ( self ) : return self . _server_property ( 'max_bson_size' )