code: def test_hero_name_query_result(ds):
      result = ds.query(ds.Query.hero.select(ds.Character.name))
      expected = {"hero": {"name": "R2-D2"}}
      assert result == expected
  
file_path: wandb/wandb/vendor/gql-0.2.0/tests/starwars/test_dsl.py
imports: import pytest
  from gql import Client
  from gql.dsl import DSLSchema
  from .schema import StarWarsSchema
label_desc: Use image node_id 7 for calling a global function with example usage: test_hero_name_query_result(ds) without return types