Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

client() method returns None when used outside of a hook context #19

Description

@qlyoung

I have an application that reacts to webhooks by scheduling a task to execute at a future time (say, in 1 hour). At that time it needs to call the GH API to perform some action, so it needs a GhApi client. Despite the recent patch to allow getting a client outside of a hook context, when I do it, I get None. Works fine inside a hook context though.

Any idea what I'm doing wrong? Is this supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions