{
    "ComputeErrorPy": {
        "description": [
            "Generates a customizable error during its compute(), for testing",
            "purposes. Python version."
        ],
        "metadata" : {
            "uiName": "Generate compute error (Python)"
        },
        "language": "Python",
        "icon": {
            "path": "TestNodeIcon.svg"
        },
        "categories": "internal:test",
        "exclude": ["usd", "docs"],
        "inputs": {
            "severity": {
                "description": "Severity of the error. 'none' disables the error.",
                "type": "token",
                "metadata": {
                    "allowedTokens": [ "none", "warning", "error" ]
                },
                "default": "none"
            },
            "message": {
                "description": "Text of the error message.",
                "type": "string"
            },
            "failCompute": {
                "description": "If true, the compute() call will return failure to the evaluator.",
                "type": "bool",
                "default": false
            },
            "dummyIn": {
                "description": "Dummy value to be copied to the output.",
                "type": "int",
                "default": 0
            },
            "deprecatedInOgn": {
                "description": "Attribute which has been deprecated here in the .ogn file.",
                "type": "float",
                "deprecated": "Use 'dummyIn' instead."
            },
            "deprecatedInInit": {
                "description": "Attribute which has been deprecated in the node's initialization code.",
                "type": "float"
            }
        },
        "outputs": {
            "dummyOut": {
                "description": "Value copied from 'dummyIn'",
                "type": "int",
                "default": 0
            }
        },
        "tests": [
            { "inputs:dummyIn": 3, "outputs:dummyOut": 3}
        ]
    }
}
