code: def grant_contributor_role(user: str):
      role = asf_jira.project_role("SPARK", 10010)
      role.add_user(user)
      print("Successfully added user '%s' to contributors role" % user)
  
imports: import json
  import os
  import re
  import subprocess
  import sys
  import traceback
  from urllib.request import urlopen
  from urllib.request import Request
  from urllib.error import HTTPError
label_desc: Use image node_id 12 for calling a global function with example usage: grant_contributor_role(user) without return types