Compute/retrieve the md5 hex-digest of the asset file data
(self)
| 40 | |
| 41 | @property |
| 42 | def md5(self) -> str: |
| 43 | """ |
| 44 | Compute/retrieve the md5 hex-digest of the asset file data |
| 45 | """ |
| 46 | if self._md5 is None: |
| 47 | self._md5 = md5(self.data).hexdigest() |
| 48 | |
| 49 | return self._md5 |
| 50 | |
| 51 | @property |
| 52 | def sha256(self) -> str: |
no outgoing calls
no test coverage detected