All-in-one component: callback function is not accessed

class Dropdown2(dcc.Dropdown):
    def __init__(self, dd1_id: str = None, **kwargs):
        self.value = kwargs.setdefault('value', None)
        self.dd1_id = dd1_id
        self.id = kwargs.get('id')
        super().__init__()

        @dash.callback(
            Output(self.dd1_id, 'options'),
            Input(self.id, 'value')
        )
        def get_options2(value):
            options = ...
            return options

I found out about the All-in-one component, and I’m trying to figure out if it’s possible to add a callback to the class for 2 dropdowns, which will generate a value for this dropdown using the id of the first dropdown. I tried several options, but I don’t see the function. get_options2 function is not accessed. I will be grateful for your assistance and assistance