def get_version(self, ver_name=None):
if ver_name is None:<EOL><INDENT>return self.get_latest_version()<EOL><DEDENT>return self._versions[ver_name]<EOL>
Get the given version for this template, or the latest

Args:
    ver_name (str or None): Version to retieve, None for the latest

Returns:
    TemplateVersion: The version matching the given name or the latest
        one