code: def get_all_fields_by_data(data, exclude_fields=None):
      fields = set()
      for d in data:
          keys = list(d.keys())
          fields.union(keys)
      if exclude_fields is not None:
          exclude_fields = set(exclude_fields)
          fields = fields.difference(exclude_fields)
      return list(fields)
  
imports: import random
  import time
  import random
  import string
  from faker import Faker
  import numpy
  from sklearn import preprocessing
  import requests
  from loguru import logger
  import datetime
label_desc: Use image node_id 11 for calling a global function with example usage: get_all_fields_by_data(data, exclude_fields) and returns: list