Is it possible to decorate the arguments of a method? Sort of:
class SampleEntity (BaseEntity) :
def someOperation (self, @Param(type="int", unit="MB")i, str) :
pass
Basically, I want the developer to be able to specify metadata about the class, properties, methods, arguments, etc., which I can process later. For class and methods, I could use decorators. Therefore, I was wondering how to do this for method arguments.
Thanks, LITTY
Litty source
share