parameters: (self, context, name, location)
return_statement: return val
docstring: Get a value from the given context as a basestring instance.
docstring_summary: Get a value from the given context as a basestring instance.
docstring_tokens: Get a value from the given context as a basestring instance .
function: def fetch_value(self, context, name, location):
          """
          Get a value from the given context as a basestring instance.
  
          """
          val = self.resolve_context(context, name, location)
  
          if hasattr(val, '__call__'):
              # Return because _render_value() is already a string.
              return self._render_value(val(), context, location=location)
  
          return val
function_tokens: def fetch_value ( self , context , name , location ) : val = self . resolve_context ( context , name , location ) if hasattr ( val , '__call__' ) : # Return because _render_value() is already a string. return self . _render_value ( val ( ) , context , location = location ) return val