Skip to content

Commit

Permalink
dsp QueryPredictionStatus
Browse files Browse the repository at this point in the history
Signed-off-by: lisen <lisen@youzan.com>
  • Loading branch information
lisen committed Jan 30, 2023
1 parent 1dcfdd8 commit 399279d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/prediction/dsp/prediction.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ type periodicSignalPrediction struct {
}

func (p *periodicSignalPrediction) QueryPredictionStatus(ctx context.Context, metricNamer metricnaming.MetricNamer) (prediction.Status, error) {
panic("implement me")
_, status := p.a.GetSignals(metricNamer.BuildUniqueKey())
return status, nil
}

func NewPrediction(realtimeProvider providers.RealTime, historyProvider providers.History, mc config.AlgorithmModelConfig) prediction.Interface {
Expand Down

0 comments on commit 399279d

Please sign in to comment.