class_docstr: Reference: https://d-uuwbxj1u4cnu.studio.us-west-2.sagemaker.aws/jupyter/default/lab/workspaces/auto-q/tree/DemoNotebooks/meta-textgeneration-llama-2-7b-SDK_1.ipynb
class_docstr_tok: ["Reference",":","https",":","\/\/d-uuwbxj1u4cnu.studio.us-west-2.sagemaker.aws\/jupyter\/default\/lab\/workspaces\/auto-q\/tree\/DemoNotebooks\/meta-textgeneration-llama-2-7b-SDK_1.ipynb"]
code: def get_config(cls):
      return {
          k: v
          for k, v in cls.__dict__.items()
          if not k.startswith("__")
          and not isinstance(
              v,
              (
                  types.FunctionType,
                  types.BuiltinFunctionType,
                  classmethod,
                  staticmethod,
              ),
          )
          and v is not None
      }
  
imports: import os, types
  from enum import Enum
  import json
  import requests
  import time
  from typing import Callable, Optional, Any
  import litellm
  from litellm.utils import ModelResponse, EmbeddingResponse, get_secret, Usage
  import sys
  from copy import deepcopy
  import httpx
  from .prompt_templates.factory import prompt_factory, custom_prompt
label_desc: Use image node_id 2 for calling the SagemakerConfig obj's underlying member method code with example usage: obj.get_config(cls) and returns: unknown