I.e. if the first positional argument passed to the decorator is a callable (rather than a string), verify that there are no other arguments and then act on the received value. This avoids the trailing parenthesis currently necessary with @...as_function_node()
I.e. if the first positional argument passed to the decorator is a callable (rather than a string), verify that there are no other arguments and then act on the received value. This avoids the trailing parenthesis currently necessary with
@...as_function_node()