1# DO NOT EDIT! This file was generated by jschema_to_python version 0.0.1.dev29, 2# with extension for dataclasses and type annotation. 3 4from __future__ import annotations 5 6import dataclasses 7from typing import List, Optional 8 9from torch.onnx._internal.diagnostics.infra.sarif import ( 10 _message, 11 _property_bag, 12 _thread_flow, 13) 14 15 16@dataclasses.dataclass 17class CodeFlow(object): 18 """A set of threadFlows which together describe a pattern of code execution relevant to detecting a result.""" 19 20 thread_flows: List[_thread_flow.ThreadFlow] = dataclasses.field( 21 metadata={"schema_property_name": "threadFlows"} 22 ) 23 message: Optional[_message.Message] = dataclasses.field( 24 default=None, metadata={"schema_property_name": "message"} 25 ) 26 properties: Optional[_property_bag.PropertyBag] = dataclasses.field( 27 default=None, metadata={"schema_property_name": "properties"} 28 ) 29 30 31# flake8: noqa 32