MCPcopy Create free account
hub / github.com/O365/python-o365 / get_default_document_library

Method get_default_document_library

O365/sharepoint.py:473–480  ·  view source on GitHub ↗

Returns the default document library of this site (Drive instance) :param request_drive: True will make an api call to retrieve the drive data :rtype: Drive

(self, request_drive=False)

Source from the content-addressed store, hash-verified

471 return self.object_id == other.object_id
472
473 def get_default_document_library(self, request_drive=False):
474 """ Returns the default document library of this site (Drive instance)
475
476 :param request_drive: True will make an api call to retrieve
477 the drive data
478 :rtype: Drive
479 """
480 return self.site_storage.get_default_drive(request_drive=request_drive)
481
482 def get_document_library(self, drive_id):
483 """ Returns a Document Library (a Drive instance)

Callers

nothing calls this directly

Calls 1

get_default_driveMethod · 0.80

Tested by

no test coverage detected