def _update_trie(self, current_input_prefix, inject_input, inferred_events,
                   newly_inferred_events):
    current_input_prefix = list(current_input_prefix)
    current_input_prefix.append(inject_input)
    # Make sure to prepend the input we just injected
    inferred_events = list(inferred_events)
    inferred_events.append(inject_input)
    inferred_events += newly_inferred_events
    self._prefix_trie[current_input_prefix] = inferred_events
    return (current_input_prefix, inferred_events)
Update the trie for this prefix
dataset/ETHPy150Open ucb-sts/sts/sts/control_flow/peeker.py/PrefixPeeker._update_trie