(self, config)
Sets config values for current request.

        This includes sys.path modifications which is getting restored to
        default value on each request so each project should be isolated
        from each other.

        Args:
            config: Dictionary with config values.
Sets config values for current request.
Sets config values for current request .
def _set_request_config(self, config):
        """Sets config values for current request.

        This includes sys.path modifications which is getting restored to
        default value on each request so each project should be isolated
        from each other.

        Args:
            config: Dictionary with config values.
        """
        sys.path = self.default_sys_path
        self.use_snippets = config.get('useSnippets')
        self.show_doc_strings = config.get('showDescriptions', True)
        self.fuzzy_matcher = config.get('fuzzyMatcher', False)
        jedi.settings.case_insensitive_completion = config.get(
            'caseInsensitiveCompletion', True)
        for path in config.get('extraPaths', []):
            if path and path not in sys.path:
                sys.path.insert(0, path)
def _set_request_config ( self , config ) : sys . path = self . default_sys_path self . use_snippets = config . get ( 'useSnippets' ) self . show_doc_strings = config . get ( 'showDescriptions' , True ) self . fuzzy_matcher = config . get ( 'fuzzyMatcher' , False ) jedi . settings . case_insensitive_completion = config . get ( 'caseInsensitiveCompletion' , True ) for path in config . get ( 'extraPaths' , [ ] ) : if path and path not in sys . path : sys . path . insert ( 0 , path )