def preprocess_jquery_arguments(x): if isinstance(x, html_tag): return str(x) if inspect.iscoroutinefunction(x): on(None, None)(x) return id2handlerInfo[id(x)] return x