I’m working on making a plugin, and I want to allow the user to bind arbitrary callables. For type safety, I want to know what the signature of the arguments is (i.e. the argument count, the types of the arguments, arg names, etc.)
Unfortunately, the Callable object doesn’t seem to have any way of doing this. Is there any method to get this data from an arbitrary callable?