def input_subset(self, subset):
    ''' Return a view of the dag with only the subset and subset dependents
    remaining'''
    ignored = self._events_set - set(subset)
    ignored = self._ignored_except_internals_and_recoveries(ignored)
    remaining_events = self.compute_remaining_input_events(ignored)
    return EventDagView(self, remaining_events)
dataset/ETHPy150Open ucb-sts/sts/sts/event_dag.py/EventDag.input_subset/original