coordle/backend/coordle_backend.py
def _parse_term(self, q: deque) -> set:
        '''
        Checks for term, this is the function that fetches the uids
        '''
        curr_token = q.popleft()

        # Implies parenthesis in query
        if type(curr_token) == deque:
            return self.parse(curr_token)

        if curr_token in self.token_to_set:
            results: set = self.token_to_set[curr_token]
            self._tf_idf(results, curr_token)
            return results
        else:
            return set()

        Checks for term, this is the function that fetches the uids
        
Checks for term, this is the function that fetches the uids
Checks for term this is the function that fetches the uids
def _parse_term(self, q: deque) -> set:
        curr_token = q.popleft()
        if type(curr_token) == deque:
            return self.parse(curr_token)
        if curr_token in self.token_to_set:
            results: set = self.token_to_set[curr_token]
            self._tf_idf(results, curr_token)
            return results
        else:
            return set()
def _parse_term ( self , q : deque ) -> set : curr_token = q . popleft ( ) if type ( curr_token ) == deque : return self . parse ( curr_token ) if curr_token in self . token_to_set : results : set = self . token_to_set [ curr_token ] self . _tf_idf ( results , curr_token ) return results else : return set ( )
Checks for term, this is the function that fetches the uids
Checks for term this is the function that fetches the uids
'''
        Checks for term, this is the function that fetches the uids
        ''' # Implies parenthesis in query
self
q
deque