(self, data)
| 10 | |
| 11 | class Record: |
| 12 | def __init__(self, data): |
| 13 | self._isvalid = True |
| 14 | (self._category, name) = data["name"].split('/') |
| 15 | (self._encode, self._algo) = name.split('_') |
| 16 | self._cputime = data["cpu_time"] |
| 17 | self._time_unit = data["time_unit"] |
| 18 | if "label" in data: |
| 19 | self._label = data["label"] |
| 20 | else: |
| 21 | self._isvalid = False |
| 22 | |
| 23 | def file(self): |
| 24 | return self._file |
nothing calls this directly
no outgoing calls
no test coverage detected