ai_api_client_sdk.models.metric_resource
index
/home/jenkins/agent/workspace/ndation_ai-api-client-sdk_master/ai_api_client_sdk/models/metric_resource.py

 
Classes
       
builtins.object
MetricResource

 
class MetricResource(builtins.object)
    MetricResource(execution_id: str, metrics: List[ai_api_client_sdk.models.metric.Metric] = None, tags: List[ai_api_client_sdk.models.metric_tag.MetricTag] = None, custom_info: List[ai_api_client_sdk.models.metric_custom_info.MetricCustomInfo] = None, **kwargs)
 
The Metric object, defines collection of various metrics/tags/labels related to an execution.
 
:param execution_id: ID of the execution
:type execution_id: str
:param metrics: List of the metrics related to the execution, defaults to None
:type metrics: List[class:`ai_api_client_sdk.metric.Metric`], optional
:param tags: List of the tags related to the execution, defaults to None
:type tags: List[class:'ai_api_client_sdk.models.metric_tag.MetricTag'], optional
:param custom_info: List of custom info related to the execution, defaults to None
:type custom_info: List[class:`ai_api_client_sdk.models.metric_custom_info.MetricCustomInfo`], optional
:param `**kwargs`: The keyword arguments are there in case there are additional attributes returned from server
 
  Methods defined here:
__init__(self, execution_id: str, metrics: List[ai_api_client_sdk.models.metric.Metric] = None, tags: List[ai_api_client_sdk.models.metric_tag.MetricTag] = None, custom_info: List[ai_api_client_sdk.models.metric_custom_info.MetricCustomInfo] = None, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.

Static methods defined here:
from_dict(metric_resource_dict: Dict[str, Any])
Returns a :class:`ai_api_client_sdk.models.metric_resource.MetricResourceobject, created from the values
in the dict provided as parameter
 
:param metric_resource_dict: Dict which includes the necessary values to create the object
:type metric_resource_dict: Dict[str, Any]
:return: An object, created from the values provided
:rtype: class:`ai_api_client_sdk.models.metric_resource.MetricResource`

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        Any = typing.Any
Dict = typing.Dict
List = typing.List