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

Method remove_from_following

github/AuthenticatedUser.py:1027–1032  ·  view source on GitHub ↗

:calls: `DELETE /user/following/{username} `_

(self, following: NamedUser)

Source from the content-addressed store, hash-verified

1025 headers, data = self._requester.requestJsonAndCheck("DELETE", "/user/emails", input=post_parameters)
1026
1027 def remove_from_following(self, following: NamedUser) -> None:
1028 """
1029 :calls: `DELETE /user/following/{username} <http://docs.github.com/en/rest/reference/users#followers>`_
1030 """
1031 assert isinstance(following, github.NamedUser.NamedUser), following
1032 headers, data = self._requester.requestJsonAndCheck("DELETE", f"/user/following/{following._identity}")
1033
1034 def remove_from_starred(self, starred: Repository) -> None:
1035 """

Callers 1

testFollowingMethod · 0.80

Calls 1

requestJsonAndCheckMethod · 0.80

Tested by

no test coverage detected