def __getitem__(self, index: int) -> Any:
        """Gets element of the dataset.

        Args:
            index: index of the element in the dataset

        Returns:
            Single element by index
        """
        item = self.data[index]
        dict_ = self.open_fn(item)
        dict_ = self.dict_transform(dict_)

        return dict_
Gets element of the dataset.

        Args:
            index: index of the element in the dataset

        Returns:
            Single element by index
        
catalyst/contrib/data/dataset.py