code: def client():
      with vcr.use_cassette("tests/fixtures/vcr_cassettes/client.yaml"):
          request = requests.get(
              URL,
              headers={
                  "Host": "swapi.graphene-python.org",
                  "Accept": "text/html",
              },
          )
          request.raise_for_status()
          csrf = request.cookies["csrftoken"]
  
          return Client(
              transport=RequestsHTTPTransport(
                  url=URL,
                  cookies={"csrftoken": csrf},
                  headers={"x-csrftoken": csrf},
              ),
              fetch_schema_from_transport=True,
          )
  
imports: import pytest
  import requests
  import vcr
  from gql import Client, gql
  from gql.transport.requests import RequestsHTTPTransport
label_desc: Use image node_id 1 for calling a global function with example usage: client() and returns: Client