def __getitem__(self, element):
    (id_, slice_) = extract_input_for_getitem(element)
    return self.read_frames(id_, slice_)
def __getitem__(self, element):
    (id_, slice_) = extract_input_for_getitem(element)
    return self.read_frames(id_, slice_)