MetricTimepoint

class pydelfini.delfini_core.models.metric_timepoint.MetricTimepoint(dt, value, partitions=Unset)[source]

Bases: object

MetricTimepoint model

Parameters:
dt
Type:

datetime.datetime

value
Type:

Union[float, int]

partitions
Type:

Union[Unset, MetricTimepointPartitions]

Attributes

dt

value

partitions

classmethod from_dict(src_dict)[source]

Create an instance of MetricTimepoint from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]