EventMetric¶
- class pydelfini.delfini_core.models.event_metric.EventMetric(agg_func, description, event_name, name, dimensions=Unset, num_partitions=Unset, partition_by=Unset, type=EventMetricType.EVENT)[source]¶
Bases:
object
EventMetric model
- Parameters:
agg_func (MetricAggFunc)
description (str)
event_name (str)
name (str)
dimensions (Unset | EventMetricDimensions)
type (Unset | EventMetricType)
- agg_func¶
- Type:
- dimensions¶
- Type:
Union[Unset, EventMetricDimensions]
- type¶
Default: EventMetricType.EVENT.
- Type:
Union[Unset, EventMetricType]
Attributes
- classmethod from_dict(src_dict)[source]¶
Create an instance of
EventMetric
from a dict