Open waxlamp opened 9 years ago
For example, in the following function
@tangelo.types(foo=json.loads) def run(foo=False): pass
run() cannot be invoked with no arguments. The following error arises from the execution of the types() decorator:
run()
types()
{"error": "'foo' was registered for type conversion but did not appear in the arguments list"}
For example, in the following function
run()
cannot be invoked with no arguments. The following error arises from the execution of thetypes()
decorator: