code: def get_milestones(project, auth=False, **params):
      params.setdefault("state", "all")
      url = f"https://api.github.com/repos/{project}/milestones"
      if auth:
          headers = make_auth_header()
      else:
          headers = None
      milestones = get_paged_request(url, headers=headers, **params)
      return milestones
  
imports: import getpass
  import json
  import os
  import re
  import sys
  import requests
label_desc: Use image node_id 10 for calling a global function with example usage: get_milestones(project, auth) and returns: milestones