1616import re # noqa: F401
1717import json
1818
19- from pydantic import BaseModel , ConfigDict , StrictBool , StrictInt , StrictStr
19+ from pydantic import BaseModel , ConfigDict , Field , StrictBool , StrictInt , StrictStr
2020from typing import Any , ClassVar , Dict , List , Optional
2121from revengai .models .analysis_access_info import AnalysisAccessInfo
2222from typing import Optional , Set
@@ -36,11 +36,12 @@ class AnalysisDetailResponse(BaseModel):
3636 binary_size : StrictInt
3737 binary_type : StrictStr
3838 creation : StrictStr
39+ dashboard_url : StrictStr = Field (description = "URL to view this analysis in the dashboard" )
3940 debug : StrictBool
4041 model_name : StrictStr
4142 sbom : Optional [Dict [str , Any ]] = None
4243 sha_256_hash : StrictStr
43- __properties : ClassVar [List [str ]] = ["access" , "analysis_id" , "analysis_scope" , "architecture" , "binary_dynamic" , "binary_format" , "binary_name" , "binary_size" , "binary_type" , "creation" , "debug" , "model_name" , "sbom" , "sha_256_hash" ]
44+ __properties : ClassVar [List [str ]] = ["access" , "analysis_id" , "analysis_scope" , "architecture" , "binary_dynamic" , "binary_format" , "binary_name" , "binary_size" , "binary_type" , "creation" , "dashboard_url" , " debug" , "model_name" , "sbom" , "sha_256_hash" ]
4445
4546 model_config = ConfigDict (
4647 populate_by_name = True ,
@@ -111,6 +112,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
111112 "binary_size" : obj .get ("binary_size" ),
112113 "binary_type" : obj .get ("binary_type" ),
113114 "creation" : obj .get ("creation" ),
115+ "dashboard_url" : obj .get ("dashboard_url" ),
114116 "debug" : obj .get ("debug" ),
115117 "model_name" : obj .get ("model_name" ),
116118 "sbom" : obj .get ("sbom" ),
0 commit comments