How to retrieve associated pull requests for a specific commit hash with GitHub's GraphQL API?

This page summarizes the projects mentioned and recommended in the original post on /r/AskProgramming

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • NumPy

    The fundamental package for scientific computing with Python.

  • The issue is that that query only returns the associated pull request for MERGED pull requests only. For example, if we look at this pull request for numpy (https://github.com/numpy/numpy/pull/23753/commits), we can see that it is merged, and it has one associated commit (with hash 725777de1b8dea22edf9421a47ccf0807b477ae7). Specifying that hash along with the repo name and owner in my GraphQL query above correctly returns the corresponding pull request (#23753). However, here is a pull request that is not merged (https://github.com/numpy/numpy/pull/23751/commits). It has 1 commit (ab2bd9d9b997a315d2c4e3175ba03ab3a435543d), just like the other pull request. But this time, when we pass that commit in the GraphQL query above, the list of associated pull requests that the query returns is empty, despite that commit hash clearly being associated with a pull request.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • help with installing numpy, please

    1 project | /r/linux4noobs | 7 Dec 2023
  • A Comprehensive Guide to NumPy Arrays

    1 project | dev.to | 3 Nov 2023
  • NumPy 2.0 development status & announcements: major C-API and Python API cleanup

    2 projects | /r/Python | 16 Oct 2023
  • NumPy 2.0 Development Status

    1 project | news.ycombinator.com | 15 Oct 2023
  • Calculating weighted averages with numpy and Python!

    1 project | dev.to | 22 Aug 2023