enricher Module

Defines the generic enricher class for joining together data with different granularity and aggregators.

This module contains static function overloads: get_max_date_by_granularity(max_date, granularity) where granularity is one of MonthGranularity, DayGranularity, or HourGranularity. These static methods return the max data based on the specified granularity.

Classes

Enricher

Defines the base enricher class.

Initialize a new instance.

Functions

get_max_date_by_granularity

Get the max date based on hour granularity.

get_max_date_by_granularity(max_date, _granularity: HourGranularity | DayGranularity | MonthGranularity)

Parameters

Name Description
max_date
Required
_granularity
Required