I have a similar problem but looks simpler taking only two arguments inputs.
For your case, from other forum, the solution is to wrap your input as tuple e.g. instead of
onnx.export(model, inputs, ...)

use this:
onnx.export(model, (inputs,), ...)