code: def issues_closed_since(
      period=LAST_RELEASE, project="dipy/dipy", pulls=False
  ):
      """Get all issues closed since a particular point in time.
  
      Period can either be a datetime object, or a timedelta object. In the
      latter case, it is used as a time before the present.
  
      """
      which = "pulls" if pulls else "issues"
  
      if isinstance(period, timedelta):
          period = datetime.now() - period
      url = (
          f"https://api.github.com/repos/{project}/{which}?state=closed"
          f"&sort=updated&since={period.strftime(ISO8601)}&per_page={PER_PAGE}"
      )
  
      allclosed = get_paged_request(url)
      # allclosed = get_issues(project=project, state='closed', pulls=pulls,
      #                        since=period)
      filtered = [
          i
          for i in allclosed
          if _parse_datetime(i["closed_at"]) > period
      ]
  
      # exclude rejected PRs
      if pulls:
          filtered = [pr for pr in filtered if pr["merged_at"]]
  
      return filtered
  
file_path: dipy/tools/github_stats.py
imports: import json
  import re
  import sys
  from datetime import datetime, timedelta
  from subprocess import check_output
  from urllib.request import urlopen
label_desc: Use image node_id 7 for calling a global function with example usage: issues_closed_since(period, project, pulls) and returns: filtered