code: def register_pysr_lut_function(func, julia_main=None):
      if julia_main is None:
          from pysr.julia_helpers import init_julia
  
          Main = init_julia()
      else:
          Main = julia_main
  
      Main.eval(func)
  
imports: import subprocess
  import tempfile
label_desc: Use image node_id 2 for calling a global function with example usage: register_pysr_lut_function(func, julia_main) without return types