code: def generate_token(
      urls, username, password, OTP=None, name="SymPy Release"
  ):
      enc_data = json.dumps({"scopes": ["public_repo"], "note": name})
  
      url = urls.authorize_url
      rep = query_GitHub(
          url, username=username, password=password, data=enc_data
      ).json()
      return rep["token"]
  
imports: import os
  import json
  from subprocess import check_output
  from collections import OrderedDict, defaultdict
  from collections.abc import Mapping
  import glob
  from contextlib import contextmanager
  import requests
  from requests_oauthlib import OAuth2
label_desc: Use image node_id 13 for calling a global function with example usage: generate_token(urls, username, password, OTP, name) and returns: rep