parameters: (self, name: str, parent_path: Optional[str] = None)
docstring: Loads a template.
docstring_summary: Loads a template.
docstring_tokens: Loads a template .
function: def load(self, name: str, parent_path: Optional[str] = None) -> Template:
          """Loads a template."""
          name = self.resolve_path(name, parent_path=parent_path)
          with self.lock:
              if name not in self.templates:
                  self.templates[name] = self._create_template(name)
              return self.templates[name]
function_tokens: def load ( self , name : str , parent_path : Optional [ str ] = None ) -> Template : name = self . resolve_path ( name , parent_path = parent_path ) with self . lock : if name not in self . templates : self . templates [ name ] = self . _create_template ( name ) return self . templates [ name ]