Non string boolean param

Hi

Here is the code I am dealing.

import param
import panel as pn

class Example(param.Parameterized):
    a = param.Number(1)
    b = param.Number(2)

    @param.depends('a', 'b')
    def sum(self):
        return self.a + self.b

example = Example()
pn.Row(example.param, pn.panel(example.sum))

I want to know how I can form expression ,param.depends(‘a’, ‘b’) , without using string parameters? and how can I add non string boolean param to that at expression ?

Regards

Can you clarify what non string boolean parameters mean?

Here I think the question is about using a instead of 'a', but I’m not sure why that’s needed, and in any case it is not supported.