diff --git a/app/api/views/download/data.py b/app/api/views/download/data.py index 9e5d7fd8..68978184 100644 --- a/app/api/views/download/data.py +++ b/app/api/views/download/data.py @@ -9,11 +9,11 @@ class Record: label: List[Any], user: str, metadata: Dict[Any, Any]): - self._id = id - self._data = data - self._label = label - self._user = user - self._metadata = metadata + self.id = id + self.data = data + self.label = label + self.user = user + self.metadata = metadata def __str__(self): - return f'{self._data}\t{self._label}' + return f'{self.data}\t{self.label}'