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

Method __init__

O365/drive.py:1033–1040  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

1031 """ A Folder inside a Drive """
1032
1033 def __init__(self, *args, **kwargs):
1034 super().__init__(*args, **kwargs)
1035 cloud_data = kwargs.get(self._cloud_data_key, {})
1036
1037 self.child_count = cloud_data.get(self._cc('folder'), {}).get(
1038 self._cc('childCount'), 0)
1039 self.special_folder = cloud_data.get(self._cc('specialFolder'), {}).get(
1040 'name', None)
1041
1042 def get_items(self, limit=None, *, query=None, order_by=None, batch=None):
1043 """ Returns generator all the items inside this folder

Callers

nothing calls this directly

Calls 3

_ccMethod · 0.80
__init__Method · 0.45
getMethod · 0.45

Tested by

no test coverage detected