class_docstr: Helper class for Auth when executing requests.
class_docstr_tok: ["Helper","class","for","Auth","when","executing","requests","."]
code: def __init__(self, token: str) -> None:
      self.token = token
  
imports: from __future__ import annotations
  import asyncio
  import json
  import time
  from enum import Enum
  from functools import cached_property, wraps
  from inspect import signature
  from typing import TYPE_CHECKING, Any, Callable, Sequence, Set, TypeVar, cast
  import aiohttp
  from aiohttp import ClientResponseError
  from asgiref.sync import sync_to_async
  from requests.auth import AuthBase
  from requests.sessions import Session
  from airflow.exceptions import AirflowException
  from airflow.providers.http.hooks.http import HttpHook
  from airflow.typing_compat import TypedDict
label_desc: Use image node_id 1 to create a new TokenAuth object from inherited base classes: AuthBase with example: obj = TokenAuth(token)