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

Method __init__

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

Source from the content-addressed store, hash-verified

987 """ An Image """
988
989 def __init__(self, **kwargs):
990 super().__init__(**kwargs)
991 cloud_data = kwargs.get(self._cloud_data_key, {})
992
993 image = cloud_data.get(self._cc('image'), {})
994 self.height = image.get(self._cc('height'), 0)
995 self.width = image.get(self._cc('width'), 0)
996
997 @property
998 def dimensions(self):

Callers

nothing calls this directly

Calls 3

_ccMethod · 0.80
__init__Method · 0.45
getMethod · 0.45

Tested by

no test coverage detected