Module aivis_engine_v2_da_sdk_python.analysis
Classes
class DependencyAnalysis (handle, key)-
Class for creating and handling dependency analysis. This is your entry point for all analysis operations.
Private constructor. To create new instances use:
Static methods
def create(cls, data: DependencyAnalysisData, config_json: str) ‑> DependencyAnalysis-
@
FlavourRequirement([Flavour.FULL])Create dependency analysis for given data and config.
Use
DependencyAnalysis.get_report()to get instance ofDtoAnalysisReportas JSON string.Parameters
data:DependencyAnalysisData- Instance of dependency analysis data
config_json:strDtoAnalysisConfigas JSON string
Returns
DependencyAnalysis- Instance of dependency analysis
Methods
def destroy(self)-
@
FlavourRequirement([Flavour.FULL])Destroy this dependency analysis. It's always safe to destroy an analysis. Internally the destruction only takes place after all references to this object have been released.
def get_constraints(data: DependencyAnalysisData, constraint_config_json: str, timestamps: List[int]) ‑> str-
@
FlavourRequirement([Flavour.FULL])Get 'DtoConstraintCollection'.
@experimental: Might change in future releases.
Parameters
data:DependencyAnalysisData- Instance of dependency analysis data
constraint_config_json:strDtoConstraintConfigas JSON stringtimestamps:List[int]- List of timestamps
Returns
strDtoConstraintCollectionas JSON string
def get_report(self) ‑> str-
@
FlavourRequirement([Flavour.FULL])Get this analysis'
DtoAnalysisReport.Returns
strDtoAnalysisReportas JSON string