ms_setup_github

ms_setup_github(repo=None, token=None)

Verify GitHub token discovery for private-repository CSV access.

Python cannot safely create or store a PAT for you. Set GITHUB_PAT/GH_TOKEN or configure git credentials, then call this to confirm the token works.

No default repository, mirroring metasalmon’s 0.2.3 fix (#72): the old default pointed at a private dataset repo, so a no-argument call reported a perfectly good token as broken for everyone without access to it. The function’s job is token discovery; verifying a particular repository is optional and caller-supplied.

Back to top