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

Method add_to_following

github/AuthenticatedUser.py:431–436  ·  view source on GitHub ↗

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

(self, following: NamedUser)

Source from the content-addressed store, hash-verified

429 headers, data = self._requester.requestJsonAndCheck("POST", "/user/emails", input=post_parameters)
430
431 def add_to_following(self, following: NamedUser) -> None:
432 """
433 :calls: `PUT /user/following/{username} <http://docs.github.com/en/rest/reference/users#followers>`_
434 """
435 assert isinstance(following, github.NamedUser.NamedUser), following
436 headers, data = self._requester.requestJsonAndCheck("PUT", f"/user/following/{following._identity}")
437
438 def add_to_starred(self, starred: Repository) -> None:
439 """

Callers 1

testFollowingMethod · 0.80

Calls 1

requestJsonAndCheckMethod · 0.80

Tested by

no test coverage detected