code: def test_invalid_id_query(client):
      query = gql(
          """
          query humanQuery($id: String!) {
            human(id: $id) {
              name
            }
          }
      """
      )
      params = {
          "id": "not a valid id",
      }
      expected = {"human": None}
      result = client.execute(query, variable_values=params)
      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 8 for calling a global function with example usage: test_invalid_id_query(client) without return types