class_docstr: A more secure dictionary for accessing plugin secrets in
  operators that will attempt to resolve missing plugin secrets upon access.
class_docstr_tok: ["A","more","secure","dictionary","for","accessing","plugin","secrets","in","operators","that","will","attempt","to","resolve","missing","plugin","secrets","upon","access","."]
code: def __getitem__(self, key):
      # Override __getitem__ to suppress KeyError and attempt to resolve
      # plugin secrets if not yet resolved
      if not self.__frozen:
          return None
      if key not in self.__required_keys:
          return None
      val = self.__secrets.get(key, None)
      if self._resolver and val is None:
          val = self._resolver(key=key, operator_uri=self._operator_uri)
          if val:
              self.__secrets[key] = val.value
          else:
              # If the secret is not found, set it to an empty string to
              # prevent continually trying to resolve it
              self.__secrets[key] = ""
      return val
  
imports: import logging
  import traceback
  import typing
  from typing import Optional
  from ..internal import secrets
label_desc: Use image node_id 6 for calling the SecretsDictionary obj's underlying member method code with example usage: obj.__getitem__(key) and returns: val, None, None