code: def __init__(
      self, dct: Dict, credstore_env: Optional[Mapping] = None
  ) -> None:
      super().__init__(dct)
      if "auths" not in dct:
          dct["auths"] = {}
      self.update(dct)
      self._credstore_env = credstore_env
      self._stores: Dict[str, dockerpycreds.Store] = dict()
  
imports: import base64
  import json
  import logging
  import os
  import platform
  from typing import Any, Dict, Mapping, Optional, Tuple, Union
  import dockerpycreds
label_desc: Use image node_id 1 to create a new AuthConfig object from inherited base classes: dict with example: obj = AuthConfig(dct, credstore_env)