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 of DtoAnalysisReport as JSON string.

Parameters

data : DependencyAnalysisData
Instance of dependency analysis data
config_json : str
DtoAnalysisConfig as 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 : str
DtoConstraintConfig as JSON string
timestamps : List[int]
List of timestamps

Returns

str
DtoConstraintCollection as JSON string
def get_report(self) ‑> str

@FlavourRequirement([Flavour.FULL])

Get this analysis' DtoAnalysisReport.

Returns

str
DtoAnalysisReport as JSON string