Integrate learn-classifier task into the app

This commit is contained in:
Eike Kettner
2020-09-01 00:21:19 +02:00
parent 0c97b4ef76
commit 68bb65572b
5 changed files with 53 additions and 6 deletions

View File

@ -102,5 +102,9 @@ object RClassifierSetting {
created
)
}
object Classifier {
def fromRecord(r: RClassifierSetting): Classifier =
Classifier(r.enabled, r.schedule, r.itemCount, r.category.some)
}
}