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

Method planner

O365/account.py:319–328  ·  view source on GitHub ↗

Get an instance to read information from Microsoft planner

(self, *, resource: str = '')

Source from the content-addressed store, hash-verified

317 return Sharepoint(parent=self, main_resource=resource)
318
319 def planner(self, *, resource: str = ''):
320 """ Get an instance to read information from Microsoft planner """
321
322 if not isinstance(self.protocol, MSGraphProtocol):
323 # TODO: Custom protocol accessing OneDrive/Sharepoint Api fails here
324 raise RuntimeError(
325 'planner api only works on Microsoft Graph API')
326
327 from .planner import Planner
328 return Planner(parent=self, main_resource=resource)
329
330 def tasks(self, *, resource: str = ''):
331 """ Get an instance to read information from Microsoft ToDo """

Callers 1

setup_classMethod · 0.80

Calls 1

PlannerClass · 0.85

Tested by 1

setup_classMethod · 0.64