MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / remove_from_emails

Method remove_from_emails

github/AuthenticatedUser.py:1019–1025  ·  view source on GitHub ↗

:calls: `DELETE /user/emails `_

(self, *emails: str)

Source from the content-addressed store, hash-verified

1017 headers, data = self._requester.requestJsonAndCheck("PUT", "/notifications", input=put_parameters)
1018
1019 def remove_from_emails(self, *emails: str) -> None:
1020 """
1021 :calls: `DELETE /user/emails <http://docs.github.com/en/rest/reference/users#emails>`_
1022 """
1023 assert all(isinstance(element, str) for element in emails), emails
1024 post_parameters = {"emails": emails}
1025 headers, data = self._requester.requestJsonAndCheck("DELETE", "/user/emails", input=post_parameters)
1026
1027 def remove_from_following(self, following: NamedUser) -> None:
1028 """

Callers 2

testShouldDeferWritesMethod · 0.80
testEmailsMethod · 0.80

Calls 1

requestJsonAndCheckMethod · 0.80

Tested by

no test coverage detected