code: def fetch_merged_pull_requests(page: int = 1) -> List[Dict]:  # noqa
      "Fetch a page of pull requests"
      params = {
          "base": "main",
          "state": "closed",
          "page": page,
          "per_page": 50,
          "sort": "updated",
          "direction": "desc",
      }
      r = httpx.get(
          f"{GITHUB_REPOS}/{OWNER}/{REPO}/pulls",
          headers=HEADERS,
          params=params,
      )
      return [pr for pr in r.json() if pr["merged_at"]]
  
file_path: sktime/build_tools/changelog.py
imports: import os
  from collections import defaultdict
  from typing import Dict, List
  import httpx
  from dateutil import parser
label_desc: Use image node_id 1 for calling a global function with example usage: fetch_merged_pull_requests(page) and returns: unknown