parameters: (self)
return_statement: return json.loads(access_tokens)
docstring: get the set of API tokens for auth of the HMA API.
          Requires HMA_ACCESS_TOKEN_SECRET_NAME be present in environ
          else returns empty list.
docstring_summary: get the set of API tokens for auth of the HMA API.
          Requires HMA_ACCESS_TOKEN_SECRET_NAME be present in environ
          else returns empty list.
docstring_tokens: get the set of API tokens for auth of the HMA API . Requires HMA_ACCESS_TOKEN_SECRET_NAME be present in environ else returns empty list .
function: def hma_api_tokens(self) -> t.List[str]:
          """
          get the set of API tokens for auth of the HMA API.
          Requires HMA_ACCESS_TOKEN_SECRET_NAME be present in environ
          else returns empty list.
          """
          secret_name = os.environ.get("HMA_ACCESS_TOKEN_SECRET_NAME")
          if not secret_name:
              logger.warning("Unable to load HMA_ACCESS_TOKEN_SECRET_NAME from env")
              return []
          access_tokens = self._get_str_secret(secret_name)
          return json.loads(access_tokens)
function_tokens: def hma_api_tokens ( self ) -> t . List [ str ] : secret_name = os . environ . get ( "HMA_ACCESS_TOKEN_SECRET_NAME" ) if not secret_name : logger . warning ( "Unable to load HMA_ACCESS_TOKEN_SECRET_NAME from env" ) return [ ] access_tokens = self . _get_str_secret ( secret_name ) return json . loads ( access_tokens )