Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def decorator(meth):
if not table_argument:
meth = lupa.unpacks_lua_table_method(meth)
meth = exceptions_as_return_values(
can_raise(
emits_lua_objects(meth)
)
)
meth._is_command = True
meth._is_async = async
meth._can_raise_async = can_raise_async
return meth
return decorator