You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@michaelimfeld it does support a variable number of arguments, however, with slightly different approach. JSON-RPC standard allows arguments of the function to be sent either as list or dictionary, but not as a mix of them. This library follows the standard and does not allow both *args and **kwargs at the same time. There is a workaround in your case, args could be extra key of kwargs:
Hi
I couldn't find anything about this in the docs:
Does this library support a variable number of args and kwargs for a handler function?
Example:
The text was updated successfully, but these errors were encountered: