def types(**args):
def l(func):<EOL><INDENT>if hasattr(func, '<STR_LIT>'):<EOL><INDENT>func.__annotations__.update(args)<EOL><DEDENT>else:<EOL><INDENT>func.__annotations__ = args<EOL><DEDENT>return func<EOL><DEDENT>return l<EOL>
Specifies the types used for the arguments of a published service.

@types(a=int, b = str)
def f(a, b):
    pass