Decorators to attach signature information to functions
Bases: object
Add inputs information to a function
>>> from openalea.core.factory_decorator import inputs
>>> @inputs('a:int=1,b:list=[]')
... def fct(*args):
... pass
Bases: core.factory_decorator.inputs
Add outputs information to a function
>>> from openalea.core.factory_decorator import outputs
>>> @outputs('first:int,remainder:list')
... def fct(*args):
... return int(args[0]), args[1:]