def query()

in scripts/update_github_status.py [0:0]


    def query(self, offset: int) -> str:
        after = ""
        # The cursor for fetches are formatted like after: "<sha> <offset>", but
        # the first commit isn't included, so shift all the offsets and don't
        # use an "after" for the first batch
        if offset > 0:
            after = f', after: "{self.head} {offset - 1}"'

        return f"""