def timeseries(entity_data): """Fixture for Timeseries class object :param entity_data: :return: """ entity_data.load_backup(entity_data_backup) _timeseries = TimeSeries(entity_data, 'Sales', 'annual') return _timeseries
def scalar(entity_data): """Fixture for Scalar class object :param entity_data: :return: """ entity_data.load_backup(entity_data_backup) _scalar = Scalar(entity_data, 'Loan', 'annual') return _scalar
def period_series(entity_data): entity_data.load_backup(entity_data_backup) _period_series = PeriodSeries(entity_data, 'Sales', 'annual') return _period_series
def variable(entity_data): entity_data.load_backup(entity_data_backup) _variable = Variable(entity_data, "Sales") return _variable