code: def _setup_from_config(self, config) -> Credentials:
      if config is None:
          return Credentials(None)
  
      queue_params = (
          config.get("cloud", {}).get("queue", {}).get("sqs", {})
      )
      self.is_persistent = self._get_bool_flag(
          queue_params, "persistent"
      )
      cred_params = queue_params.get(KEY_CREDENTIALS, {})
      credentials = Credentials(cred_params)
      return credentials
  
file_path: studio/studio/queues/sqs_queue.py
imports: import time
  from typing import Dict
  import boto3
  from studio.credentials.credentials import Credentials, KEY_CREDENTIALS
  from studio.storage.storage_setup import get_storage_verbose_level
  from studio.util import logs, util
label_desc: Use image node_id 2 for calling the SQSQueue obj's underlying member method code with example usage: obj._setup_from_config(config) and returns: credentials, Credentials