class_docstr: Generic API client for OpenAPI client library builds.
  
  OpenAPI generic API client. This client handles the client-
  server communication, and is invariant across implementations. Specifics of
  the methods and models for each application are generated from the OpenAPI
  templates.
  
  :param configuration: .Configuration object for this client
  :param header_name: a header to pass when making calls to the API.
  :param header_value: a header value to pass when making calls to
      the API.
  :param cookie: a cookie to include in the header when making calls
      to the API
  :param pool_threads: The number of threads to use for async requests
      to the API. More threads means more concurrent API requests.
class_docstr_tok: ["Generic","API","client","for","OpenAPI","client","library","builds",".","OpenAPI","generic","API","client",".","This","client","handles","the","client-","server","communication",",","and","is","invariant","across","implementations",".","Specifics","of","the","methods","and","models","for","each","application","are","generated","from","the","OpenAPI","templates",".",":","param","configuration",":",".Configuration","object","for","this","client",":","param","header_name",":","a","header","to","pass","when","making","calls","to","the","API",".",":","param","header_value",":","a","header","value","to","pass","when","making","calls","to","the","API",".",":","param","cookie",":","a","cookie","to","include","in","the","header","when","making","calls","to","the","API",":","param","pool_threads",":","The","number","of","threads","to","use","for","async","requests","to","the","API",".","More","threads","means","more","concurrent","API","requests","."]
docstr: Updates the request parameters based on a single auth_setting
  
  :param headers: Header parameters dict to be updated.
  :param queries: Query parameters tuple list to be updated.
  :resource_path: A string representation of the HTTP request resource path.
  :method: A string representation of the HTTP request method.
  :body: A object representing the body of the HTTP request.
  The object type is the return value of sanitize_for_serialization().
  :param auth_setting: auth settings for the endpoint
docstr_tok: ["Updates","the","request","parameters","based","on","a","single","auth_setting",":","param","headers",":","Header","parameters","dict","to","be","updated",".",":","param","queries",":","Query","parameters","tuple","list","to","be","updated",".",":","resource_path",":","A","string","representation","of","the","HTTP","request","resource","path",".",":","method",":","A","string","representation","of","the","HTTP","request","method",".",":","body",":","A","object","representing","the","body","of","the","HTTP","request",".","The","object","type","is","the","return","value","of","sanitize_for_serialization","(",")",".",":","param","auth_setting",":","auth","settings","for","the","endpoint"]
code: def _apply_auth_params(
      self, headers, queries, resource_path, method, body, auth_setting
  ):
      """Updates the request parameters based on a single auth_setting
  
      :param headers: Header parameters dict to be updated.
      :param queries: Query parameters tuple list to be updated.
      :resource_path: A string representation of the HTTP request resource path.
      :method: A string representation of the HTTP request method.
      :body: A object representing the body of the HTTP request.
      The object type is the return value of sanitize_for_serialization().
      :param auth_setting: auth settings for the endpoint
      """
      if auth_setting["in"] == "cookie":
          headers["Cookie"] = auth_setting["value"]
      elif auth_setting["in"] == "header":
          if auth_setting["type"] != "http-signature":
              headers[auth_setting["key"]] = auth_setting["value"]
      elif auth_setting["in"] == "query":
          queries.append((auth_setting["key"], auth_setting["value"]))
      else:
          raise ApiValueError(
              "Authentication token must be in `query` or `header`"
          )
  
imports: import atexit
  import datetime
  from dateutil.parser import parse
  import json
  import mimetypes
  from multiprocessing.pool import ThreadPool
  import os
  import re
  import tempfile
  from urllib.parse import quote
  from lightly.openapi_generated.swagger_client.configuration import Configuration
  from lightly.openapi_generated.swagger_client.api_response import ApiResponse
  import lightly.openapi_generated.swagger_client.models
  from lightly.openapi_generated.swagger_client import rest
  from lightly.openapi_generated.swagger_client.exceptions import ApiValueError, ApiException
label_desc: Use image node_id 23 for calling the ApiClient obj's underlying member method code with example usage: obj._apply_auth_params(headers, queries, resource_path, method, body, auth_setting) without return types