How to initialize variables in a `param.Parameterized` class?

I have the following code:

class myClass(param.Parameterized):

    select = param.Selector(...)
    add = param.Event(label='Add')
    text = param.String("Some text")

    def __init__(self, name): = name

But I get this error: AttributeError: 'myClass' object has no attribute 'initialized'. Same error if I try:

def __init__(self, name, **params): = name

You need to first run the constructor and then initialize your variables. Note that the ‘name’ variable is already taken by Parametrized and cannot be modified.

def __init__(self, name:str, **params):
        self.custom_name = name