Skip to content

create_from_github should not assume authentication. #114

@cboettig

Description

@cboettig

Minor issue from #109

Currently, create_from_github() will throw an opaque error if the user has not put a valid GITHUB_PAT environmental variable, since without authentication the API will not return a permissions chunk. If any behavior doesn't need auth, then it should work without this, otherwise, it should be documented that you should set GITHUB_PAT as an env var, and the function should probably have an argument to specify the token directly, consistent with use_github() etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions