(self, **kwargs)
| 969 | """ A File """ |
| 970 | |
| 971 | def __init__(self, **kwargs): |
| 972 | super().__init__(**kwargs) |
| 973 | cloud_data = kwargs.get(self._cloud_data_key, {}) |
| 974 | |
| 975 | self.mime_type = cloud_data.get(self._cc('file'), {}).get( |
| 976 | self._cc('mimeType'), None) |
| 977 | |
| 978 | self.hashes = cloud_data.get(self._cc('file'), {}).get( |
| 979 | self._cc('hashes'), None) |
| 980 | |
| 981 | @property |
| 982 | def extension(self): |