docstr: Rendering Config
  
  Args:
      contents (dict): contents dict object
      variables: dictionary of the current globals/locals symbol table
docstr_tok: ["Rendering","Config","Args",":","contents","(","dict",")",":","contents","dict","object","variables",":","dictionary","of","the","current","globals\/locals","symbol","table"]
code: def render_config(contents: dict, variables: dict):
      """
      Rendering Config
  
      Args:
          contents (dict): contents dict object
          variables: dictionary of the current globals/locals symbol table
      """
      for content in contents:
          if Constant.COMPONENT.value in content:
              component = content[Constant.COMPONENT.value]
              if Constant.COMPONENT_ATTR.value in component:
                  attr = component[Constant.COMPONENT_ATTR.value]
                  for k, v in attr.items():
                      if (
                          isinstance(v, str)
                          and Constant.COMPONENT_ATTR_VARS_PREFIX.value
                          in v
                      ):
                          p, n = v.split(
                              Constant.COMPONENT_ATTR_VARS_PREFIX.value,
                              1,
                          )
                          if n in variables:
                              attr[k] = variables[n]
  
          if Constant.SECTION_LIST.value in content:
              Configuration.render_config(
                  contents=content[Constant.SECTION_LIST.value],
                  variables=variables,
              )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import warnings
  import json
  from enum import Enum
  from importlib import import_module
  from pathlib import Path
  import numpy
  import pandas
  import yaml
  from jsonschema import validate
  from xai.exception import CompilerException
  from xai.formatter import Report
label_desc: Use image node_id 2 for calling the Configuration obj's underlying member method code with example usage: obj.render_config(contents, variables) without return types