U
    <c                     @  s   d dl mZ d dlZd dlmZmZmZ d dlmZ d dl	m
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ ejG dd deZdS )    )annotationsN)AnyListOptional)Literal)_address	_artifact_conversion"_external_property_file_references_graph_invocation_logical_location_property_bag_result_run_automation_details_special_locations_thread_flow_location_tool_tool_component_version_control_details_web_request_web_responsec                   @  s  e Zd ZU dZejddidZded< ejdddidZd	ed< ejddd
idZ	ded
< ejdddidZ
ded< ejdddidZded< ejdddidZded< ejdddidZded< ejdddidZded< ejdddidZded< ejdddidZded< ejdddidZded< ejddd idZd!ed < ejd"dd#idZd$ed#< ejddd%idZd&ed'< ejd(d) dd*id+Zd,ed-< ejddd.idZd/ed0< ejddd1idZd2ed1< ejddd3idZd4ed3< ejddd5idZd6ed7< ejddd8idZd9ed8< ejddd:idZd;ed<< ejddd=idZd>ed?< ejddd@idZd2ed@< ejdddAidZdBedC< ejdddDidZd2edD< ejdddEidZ dFedG< ejdddHidZ!dIedJ< ejdddKidZ"dLedM< dS )NRunzYDescribes a single run of an analysis tool, and contains the reported output of that run.Zschema_property_nametool)metadataz
_tool.ToolN	addresses)defaultr   z Optional[List[_address.Address]]	artifactsz"Optional[List[_artifact.Artifact]]ZautomationDetailsz6Optional[_run_automation_details.RunAutomationDetails]automation_detailsZbaselineGuidzOptional[str]baseline_guidZ
columnKindz:Optional[Literal[('utf16CodeUnits', 'unicodeCodePoints')]]column_kind
conversionz Optional[_conversion.Conversion]ZdefaultEncodingdefault_encodingZdefaultSourceLanguagedefault_source_languageZexternalPropertyFileReferenceszKOptional[_external_property_file_references.ExternalPropertyFileReferences]!external_property_file_referencesgraphszOptional[List[_graph.Graph]]invocationsz&Optional[List[_invocation.Invocation]]zen-USlanguagestrZlogicalLocationsz1Optional[List[_logical_location.LogicalLocation]]logical_locationsc                   C  s   ddgS )Nz

 r+   r+   r+   U/tmp/pip-unpacked-wheel-gikjz4vx/torch/onnx/_internal/diagnostics/infra/sarif/_run.py<lambda>T       zRun.<lambda>ZnewlineSequences)default_factoryr   z	List[str]newline_sequencesZoriginalUriBaseIdsr   original_uri_base_idspoliciesz-Optional[List[_tool_component.ToolComponent]]
propertiesz#Optional[_property_bag.PropertyBag]ZredactionTokenszOptional[List[str]]redaction_tokensresultszOptional[List[_result.Result]]ZrunAggregatesz<Optional[List[_run_automation_details.RunAutomationDetails]]run_aggregatesZspecialLocationsz-Optional[_special_locations.SpecialLocations]special_locations
taxonomiesZthreadFlowLocationsz8Optional[List[_thread_flow_location.ThreadFlowLocation]]thread_flow_locationstranslationsZversionControlProvenancez>Optional[List[_version_control_details.VersionControlDetails]]version_control_provenanceZwebRequestsz'Optional[List[_web_request.WebRequest]]web_requestsZwebResponsesz)Optional[List[_web_response.WebResponse]]web_responses)#__name__
__module____qualname____doc__dataclassesfieldr   __annotations__r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r)   r0   r1   r2   r3   r4   r5   r6   r7   r8   r9   r:   r;   r<   r=   r+   r+   r+   r,   r       s   
   
 
   
    
      
 
  
  
  r   )
__future__r   rB   typingr   r   r   Ztyping_extensionsr   Z,torch.onnx._internal.diagnostics.infra.sarifr   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   Z	dataclassobjectr   r+   r+   r+   r,   <module>   s   L