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

Method patch

O365/connection.py:944–953  ·  view source on GitHub ↗

Shorthand for self.oauth_request(url, 'patch') :param str url: url to send patch oauth request to :param dict data: patch data to update the service :param kwargs: extra params to send to request api :return: Response of the request :rtype: requests.Response

(self, url: str, data: Optional[dict] = None, **kwargs)

Source from the content-addressed store, hash-verified

942 return self.oauth_request(url, 'put', data=data, **kwargs)
943
944 def patch(self, url: str, data: Optional[dict] = None, **kwargs) -> Response:
945 """ Shorthand for self.oauth_request(url, 'patch')
946
947 :param str url: url to send patch oauth request to
948 :param dict data: patch data to update the service
949 :param kwargs: extra params to send to request api
950 :return: Response of the request
951 :rtype: requests.Response
952 """
953 return self.oauth_request(url, 'patch', data=data, **kwargs)
954
955 def delete(self, url: str, **kwargs) -> Response:
956 """ Shorthand for self.request(url, 'delete')

Callers 15

update_rolesMethod · 0.45
updateMethod · 0.45
moveMethod · 0.45
updateMethod · 0.45
update_profile_photoMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
update_colorMethod · 0.45
updateMethod · 0.45

Calls 1

oauth_requestMethod · 0.95

Tested by

no test coverage detected