def __get__(self, instance, instance_type=None):
        if self.data is None:
            workspace = instance._meta.workspace
            path = self.field.get_data_path(instance)
            try:
                blob = workspace.index[path].oid
            except __HOLE__:
                return None
            self.data = StringIO(workspace.repo[blob].data)
        return self.data
dataset/ETHPy150Open bendavis78/python-gitmodel/gitmodel/fields.py/BlobFieldDescriptor.__get__