code: def test_duplicate_fields(client):
      query = gql(
          """
          query DuplicateFields {
            luke: human(id: "1000") {
              name
              homePlanet
            }
            leia: human(id: "1003") {
              name
              homePlanet
            }
          }
      """
      )
      expected = {
          "luke": {
              "name": "Luke Skywalker",
              "homePlanet": "Tatooine",
          },
          "leia": {
              "name": "Leia Organa",
              "homePlanet": "Alderaan",
          },
      }
      result = client.execute(query)
      assert result == expected
  
file_path: wandb/wandb/vendor/gql-0.2.0/tests/starwars/test_query.py
imports: import pytest
  from graphql.error import format_error
  from gql import Client, gql
  from .schema import StarWarsSchema
label_desc: Use image node_id 11 for calling a global function with example usage: test_duplicate_fields(client) without return types