code: def geom_obj(geom):
      class Geom:
          pass
  
      geom_obj = Geom()
      geom_obj.__geo_interface__ = geom
      return geom_obj
  
file_path: altair/tests/vegalite/v5/test_geo_interface.py
imports: import pytest
  import altair.vegalite.v5
label_desc: Use image node_id 1 for calling a global function with example usage: geom_obj(geom) and returns: geom_obj