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
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
GhApiclient. Despite the recent patch to allow getting a client outside of a hook context, when I do it, I getNone. Works fine inside a hook context though.Any idea what I'm doing wrong? Is this supported?