MCPcopy Create free account
hub / github.com/pytest-dev/pytest / login

Function login

scripts/prepare-release-pr.py:41–46  ·  view source on GitHub ↗
(token: str)

Source from the content-addressed store, hash-verified

39
40
41def login(token: str) -> Repository:
42 import github3
43
44 github = github3.login(token=token)
45 owner, repo = SLUG.split("/")
46 return github.repository(owner, repo)
47
48
49def prepare_release_pr(

Callers 1

prepare_release_prFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected