How to write callback for numerous inputs?

Hi, is there a dash equivalent of document.getElementByClass()? I have many input elements. It is impossible to write a callback function with those as:

@app.callback(Output(), [Input('in1','value1'), Input('in2','value2'), Input('in3','value3'), ...])

I found this in the meantime:

Hi,

Yes, pattern-matching callbacks is the best approach for it.