code: def my_resource_list():
      
      rl = ResourceList( resources=iter(my_resources), count=len(my_resources) )
      rl.max_sitemap_entries = max_sitemap_entries
      return(rl)
docs: Simulate the generator used by simulator