The current implementation doesn't have support for callables but I think this could be implemented as well. We can use inspect to check the signature of a specific callable and validate the arguments and return type based on the attribute declaration in the attrs dataclass
The current implementation doesn't have support for callables but I think this could be implemented as well. We can use
inspect
to check the signature of a specific callable and validate the arguments and return type based on the attribute declaration in theattrs
dataclassDescribe the solution you'd like