CollectionStats

class pydelfini.delfini_core.models.collection_stats.CollectionStats(item_stats, newest_item_date, oldest_item_date)[source]

Bases: object

CollectionStats model

Parameters:
item_stats
Type:

CollectionStatsItemStats

newest_item_date
Type:

datetime.datetime

oldest_item_date
Type:

datetime.datetime

Attributes

item_stats

newest_item_date

oldest_item_date

classmethod from_dict(src_dict)[source]

Create an instance of CollectionStats from a dict

Parameters:

src_dict (Dict[str, Any])

Return type:

T

to_dict()[source]

Convert to a dict

Return type:

Dict[str, Any]