Browse Source

Update record

pull/1310/head
Hironsan 3 years ago
parent
commit
d5f92c2975
1 changed files with 6 additions and 6 deletions
  1. 12
      app/api/views/download/data.py

12
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}'
Loading…
Cancel
Save