docstr: Setup a session for sending GraphQL queries and mutations.
  
  Args:
      url (str): The GraphQL URL
      auth (tuple or callable): Auth tuple or callable for Basic/Digest/Custom HTTP Auth
      use_json (bool): Send request body as JSON instead of form-urlencoded
      timeout (int, float): Specifies a default timeout for requests (Default: None)
code: def __init__(
      self,
      url: str,
      auth: Optional[Union[Tuple[str, str], Callable]] = None,
      use_json: bool = False,
      timeout: Optional[Union[int, float]] = None,
      proxies: Optional[Dict[str, str]] = None,
      **kwargs: Any,
  ) -> None:
      """Setup a session for sending GraphQL queries and mutations.
  
      Args:
          url (str): The GraphQL URL
          auth (tuple or callable): Auth tuple or callable for Basic/Digest/Custom HTTP Auth
          use_json (bool): Send request body as JSON instead of form-urlencoded
          timeout (int, float): Specifies a default timeout for requests (Default: None)
      """
      super().__init__(url, **kwargs)
      self.session = requests.Session()
      if proxies:
          self.session.proxies.update(proxies)
      self.session.auth = auth
      self.default_timeout = timeout
      self.use_json = use_json
  
file_path: wandb/wandb/sdk/lib/gql_request.py
imports: from typing import Any, Callable, Dict, Optional, Tuple, Union
  import requests
  from wandb_gql.transport.http import HTTPTransport
  from wandb_graphql.execution import ExecutionResult
  from wandb_graphql.language import ast
  from wandb_graphql.language.printer import print_ast
label_desc: Use image node_id 1 to create a new GraphQLSession object from inherited base classes: HTTPTransport with example: obj = GraphQLSession(url, auth, use_json, timeout, proxies)