code: def test_fgraph_to_python_constant_inputs():
      x = constant([1.0])
      y = vector("y")
  
      out = x + y
      out_fg = FunctionGraph(outputs=[out], clone=False)
  
      out_py = fgraph_to_python(out_fg, to_python, storage_map=None)
  
      res = out_py(2.0)
      assert res == (3.0,)
  
      storage_map = {out: [None], x: [np.r_[2.0]], y: [None]}
      out_py = fgraph_to_python(
          out_fg, to_python, storage_map=storage_map
      )
  
      res = out_py(2.0)
      assert res == (4.0,)
  
imports: import inspect
  from functools import singledispatch
  import numpy
  from pytensor import config
  from pytensor.graph.basic import Apply
  from pytensor.graph.fg import FunctionGraph
  from pytensor.graph.op import Op
  from pytensor.link.utils import fgraph_to_python, get_name_for_object, unique_name_generator
  from pytensor.scalar.basic import Add, float64
  from pytensor.tensor import constant
  from pytensor.tensor.elemwise import Elemwise
  from pytensor.tensor.type import scalar, vector
  from pytensor.tensor.type_other import NoneConst
label_desc: Use image node_id 8 for calling a global function with example usage: test_fgraph_to_python_constant_inputs() without return types