<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def viewTemplate(id):
 """ View an existing Template details. Args: `id`: ID of the template to fetch Returns: Dictionary containing the details of the template. """

        conn = Qubole.agent()
        return conn.get(Template.element_path(id))