[ONNX] Add type annotation for SARIF attributes (#85898)
Separated from #85651 to highlight the type annotation changes. It should support all type annotations
needed by SARIF, except for the dictionary types described verbally like the following example. For now it
is only annotated as `Any`. To enable it, we will need to extend `jschema_to_python` tool to allow passing
in type hints.
```json
"messageStrings": {
"description": "A set of name/value pairs with arbitrary names. Each value is a multiformatMessageString object, which holds message strings in plain text and (optionally) Markdown format. The strings can include placeholders, which can be used to construct a message in combination with an arbitrary number of additional string arguments.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/multiformatMessageString"
}
},
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/85898
Approved by: https://github.com/justinchuby, https://github.com/abock, https://github.com/thiagocrepaldi