code: def test_hero_name_and_friends_query(ds):
      query = """
  hero {
    id
    name
    friends {
      name
    }
  }
      """.strip()
      query_dsl = ds.Query.hero.select(
          ds.Character.id,
          ds.Character.name,
          ds.Character.friends.select(
              ds.Character.name,
          ),
      )
      assert query == str(query_dsl)
  
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 3 for calling a global function with example usage: test_hero_name_and_friends_query(ds) without return types