Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to create issues from within the interpreter #1528

Open
koenhandekyn opened this issue Nov 9, 2024 · 1 comment
Open

allow to create issues from within the interpreter #1528

koenhandekyn opened this issue Nov 9, 2024 · 1 comment

Comments

@koenhandekyn
Copy link

Is your feature request related to a problem? Please describe.

occasionally i have issues where interpreter is stuck, or it screws up. it would be helpful to create issues with the context on github

Describe the solution you'd like

built in a function to collect the context and create an issue

Describe alternatives you've considered

manual cretion

Additional context

No response

@Lxh-377
Copy link

Lxh-377 commented Nov 29, 2024

First of all, you need to install the requests library (which can be installed through the pip install requests command) to send requests to GitHub API to create an Issue. In Python, the context related to the interpreter is collected in many ways. Create a new Issue by sending a POST request to GitHub API, and use the previously collected context information as the body content of the Issue. You need to obtain and configure the GitHub personal access token in advance, and have the corresponding warehouse operation. Permission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants