code: def change_style(style, representer):
      def new_representer(dumper, data):
          scalar = representer(dumper, data)
          scalar.style = style
          return scalar
  
      return new_representer
  
imports: import time
  import logging
  import string
  import random
  import requests
  import json
  import os
  from yaml.representer import SafeRepresenter
  import yaml
  import tableprint
  import config
label_desc: Use image node_id 2 for calling a global function with example usage: change_style(style, representer) and returns: new_representer, scalar