def METHOD_NAME(*args, **kwargs):
    if len(args) > 0:
        arg = args[0]
        if isinstance(arg, str):
            return arg
        elif isinstance(arg, Code):
            if COMPONENT_PLACEHOLDER in str(arg.path):
                # for generated code, return content in it
                with open(arg.path) as f:
                    return f.read()
            return f"{str(arg.path)}:1"
    return "xxx"