I'm using validate=True, but I would like to specify in the signature string that some of the arguments are optional. Is this possible? I'm using keyword arguments.
Something like @jsonrpc_method('my.method(arg1=String, [arg2=String])', validate=True).
I'm using
validate=True
, but I would like to specify in the signature string that some of the arguments are optional. Is this possible? I'm using keyword arguments.Something like
@jsonrpc_method('my.method(arg1=String, [arg2=String])', validate=True)
.