def METHOD_NAME(self, commit):
    if commit not in self.data.keys():
        # Fetch and cache the data
        self.data[commit] = get_features(commit)
        self.write_to_disk()
    return self.data[commit]