def attribute(*args, **kw):
return operator(kind=Operator.Type.ATTRIBUTE, *args, **kw)<EOL>
Registers a new attribute only operator function in the test engine.

Arguments:
    *args: variadic arguments.
    **kw: variadic keyword arguments.

Returns:
    function