

def send_set_roots(self, view, included=[], excluded=[]):
    included = [f for f in included if (not self.should_ignore_file(f))]
    if (not (included or excluded)):
        return
    req = AnalysisSetAnalysisRootsParams(included, excluded)
    _logger.info('sending set_roots request')
    self.requests.put(req.to_request(self.get_request_id(view, AnalysisSetAnalysisRootsResult)), block=False)

dataset/ETHPy150Open guillermooo/dart-sublime-bundle/lib/analyzer/analyzer.py AnalysisServer.send_set_roots/original