ai_core_sdk.models.kpi module

class ai_core_sdk.models.kpi.Kpi(header: List[str], rows: List[str | int], **kwargs)

Bases: object

The Kpi object defines the Kpi data.

__init__(header: List[str], rows: List[str | int], **kwargs)
static from_dict(kpi_dict: Dict[str, Any])

Returns a ai_core_sdk.models.kpi.Kpi object, created from the values in the dict provided as parameter

Parameters:

kpi_dict (Dict[str, Any]) – Dict which includes the necessary values to create the object

Returns:

An object, created from the values provided

Return type:

class:ai_core_sdk.models.kpi.Kpi