plugin/server.py
def notify_use_extra_conf(self, view, extra_conf_path, load=True):
        '''
        Sends a notification to the ycmd server that the extra configuration
        file at `extra_conf_path` may be used.

        If `load` is `True`, then the extra configuration file is loaded.
        Otherwise, the server is notified to ignore the file instead.
        '''
        if not isinstance(extra_conf_path, str):
            raise TypeError(
                'extra conf path must be a str: %r' % (extra_conf_path)
            )

        server = self.get(view)
        if not server:
            logger.warning('failed to get server for view: %r', view)
            return None

        if load:
            def notify_use_conf(server=server,
                                extra_conf_path=extra_conf_path):
                server.load_extra_conf(extra_conf_path)
        else:
            def notify_use_conf(server=server,
                                extra_conf_path=extra_conf_path):
                server.ignore_extra_conf(extra_conf_path)

        notify_use_conf_async = notify_use_conf
        notify_future = self._task_pool.submit(
            notify_use_conf_async,
            server=server, extra_conf_path=extra_conf_path,
        )   # type: concurrent.futures.Future

        return notify_future

        Sends a notification to the ycmd server that the extra configuration
        file at `extra_conf_path` may be used.

        If `load` is `True`, then the extra configuration file is loaded.
        Otherwise, the server is notified to ignore the file instead.
        
Sends a notification to the ycmd server that the extra configuration
file at `extra_conf_path` may be used.

If `load` is `True`, then the extra configuration file is loaded.
Otherwise, the server is notified to ignore the file instead.
Sends a notification to the ycmd server that the extra configuration file at ` extra_conf_path ` may be used . If ` load ` is ` True ` then the extra configuration file is loaded . Otherwise the server is notified to ignore the file instead .
def notify_use_extra_conf(self, view, extra_conf_path, load=True):
        if not isinstance(extra_conf_path, str):
            raise TypeError(
                'extra conf path must be a str: %r' % (extra_conf_path)
            )
        server = self.get(view)
        if not server:
            logger.warning('failed to get server for view: %r', view)
            return None
        if load:
            def notify_use_conf(server=server,
                                extra_conf_path=extra_conf_path):
                server.load_extra_conf(extra_conf_path)
        else:
            def notify_use_conf(server=server,
                                extra_conf_path=extra_conf_path):
                server.ignore_extra_conf(extra_conf_path)
        notify_use_conf_async = notify_use_conf
        notify_future = self._task_pool.submit(
            notify_use_conf_async,
            server=server, extra_conf_path=extra_conf_path,
        )   
        return notify_future
def notify_use_extra_conf ( self , view , extra_conf_path , load = True ) : if not isinstance ( extra_conf_path , str ) : raise TypeError ( 'extra conf path must be a str: %r' % ( extra_conf_path ) ) server = self . get ( view ) if not server : logger . warning ( 'failed to get server for view: %r' , view ) return None if load : def notify_use_conf ( server = server , extra_conf_path = extra_conf_path ) : server . load_extra_conf ( extra_conf_path ) else : def notify_use_conf ( server = server , extra_conf_path = extra_conf_path ) : server . ignore_extra_conf ( extra_conf_path ) notify_use_conf_async = notify_use_conf notify_future = self . _task_pool . submit ( notify_use_conf_async , server = server , extra_conf_path = extra_conf_path , ) return notify_future
Sends a notification to the ycmd server that the extra configuration
file at `extra_conf_path` may be used.
Sends a notification to the ycmd server that the extra configuration file at ` extra_conf_path ` may be used .
'''
        Sends a notification to the ycmd server that the extra configuration
        file at `extra_conf_path` may be used.

        If `load` is `True`, then the extra configuration file is loaded.
        Otherwise, the server is notified to ignore the file instead.
        ''' # type: concurrent.futures.Future
self
view
extra_conf_path
load