vuetify in trame

The outer <template> should be ignored.

You should look at the reference information in the course material

Otherwise, it should be as follow

with vuetify.VTooltip(left=True):
   with vuetify.Template(v_slot_activator="{ on, attrs }"):
     vuetify.VBtn(
       "Left", 
       color="primary", 
       dark=True, 
       v_bind="attrs", 
       v_on="on",
     )
   html.Span("Left tooltip")

Also to validate what you wrote in Python match the expected Vue template, you can take any instance of that template and print it like so.

with vuetify.VTooltip(left=True) as is_valid:
   with vuetify.Template(v_slot_activator="{ on, attrs }"):
     vuetify.VBtn("Left", color="primary", dark=True, v_bind="attrs", v_on="on")
   html.Span("Left tooltip")

   print(is_valid.html)