sigmavirus24 / github3.py

Hi, I'm a library for interacting with GItHub's REST API in a convenient and ergonomic way. I work on Python 3.6+.
https://github3.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.21k stars 402 forks source link

How to get issue instead of PR? #1183

Open syheliel opened 3 months ago

syheliel commented 3 months ago

I want to get issue only(which means the topic listed in Issues github page). But issues_on returns PR also:

issues = gh.issue('pytorch','pytorch',10)
for issue in issues:
    print(issue.pull_request_urls) # some of them is not None