MCPcopy Index your code
hub / github.com/O365/python-o365 / __init__

Method __init__

O365/drive.py:971–979  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

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):

Callers 9

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 2

_ccMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected