implement new sales forecast pipeline
This commit was merged in pull request #8.
This commit is contained in:
@@ -54,7 +54,8 @@ class UApiError(Exception):
|
||||
DATA_PIPELINE_STATUS_DESCR: Final[tuple[StatusDescription, ...]] = (
|
||||
("SUCCESS", 0, "Erfolg"),
|
||||
("TOO_FEW_POINTS", 1, "Datensatz besitzt nicht genügend Datenpunkte"),
|
||||
("BAD_QUALITY", 2, "Prognosequalität des Modells unzureichend"),
|
||||
("TOO_FEW_MONTH_POINTS", 2, "nach Aggregation pro Monat nicht genügend Datenpunkte"),
|
||||
("NO_RELIABLE_FORECAST", 3, "Prognosequalität des Modells unzureichend"),
|
||||
)
|
||||
|
||||
|
||||
@@ -239,8 +240,9 @@ def wrap_result(
|
||||
result=NotSet(), exception=err, code_on_error=code_on_error
|
||||
)
|
||||
logger.error(
|
||||
"An exception in routine %s occurred, stack trace:",
|
||||
"An exception in routine %s occurred - msg: %s, stack trace:",
|
||||
func.__name__,
|
||||
str(err),
|
||||
stack_info=True,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user