You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. In the GitHub Labels REST API example, it says:
Because the resource provider method implementations will be serialized and used in a different process, we keep all the work to initialize the REST client and to make calls to it, local to each function.
but in the Python example, the GitHub client is created in global scope. In the TypeScript and JavaScript examples the Octokit client is created inside the CRUD methods. So I'm not sure if the Python example is incorrect, or if the explanation I quoted above doesn't apply to Python.
Many thanks
The text was updated successfully, but these errors were encountered:
File: content/docs/concepts/resources/dynamic-providers.md
Hello. In the
GitHub Labels REST API
example, it says:but in the Python example, the
GitHub
client is created in global scope. In the TypeScript and JavaScript examples theOctokit
client is created inside the CRUD methods. So I'm not sure if the Python example is incorrect, or if the explanation I quoted above doesn't apply to Python.Many thanks
The text was updated successfully, but these errors were encountered: