original_docstring: Renders a template from the template class.
docstring: Renders a template from the template class.
docstring_tokens: Renders a template from the template class .
code: def render_template(self, template: Template, *args, **kwargs):
          """Renders a template from the template class."""
          coords = args if len(template.coords) == 0 else template.coords
  
          properties = template.properties
          for i in kwargs:
              properties[i] = kwargs[i]
  
          shape = self._create(template.type, coords, properties)
  
          if template.onRender:
              template.onRender(shape)
  
          return shape
code_tokens: def render_template ( self , template : Template , * args , ** kwargs ) : coords = args if len ( template . coords ) == 0 else template . coords properties = template . properties for i in kwargs : properties [ i ] = kwargs [ i ] shape = self . _create ( template . type , coords , properties ) if template . onRender : template . onRender ( shape ) return shape
short_docstring: Renders a template from the template class.
short_docstring_tokens: Renders a template from the template class .
comment: """Renders a template from the template class."""