bakyt92 commited on
Commit
50a162f
·
1 Parent(s): d80bf0f

update forecasting.py

Browse files

Exit code: 1. Reason: Traceback (most recent call last):
File "/home/user/app/app.py", line 16, in <module>
from forecasting import InventoryForecaster
File "/home/user/app/forecasting.py", line 14, in <module>
class InventoryForecaster:
File "/home/user/app/forecasting.py", line 371, in InventoryForecaster
def get_recommendations(self, forecast_results: pd.DataFrame) -> Dict[str, Any]:
NameError: name 'Any' is not defined. Did you mean: 'any'?

Files changed (1) hide show
  1. forecasting.py +1 -1
forecasting.py CHANGED
@@ -6,7 +6,7 @@ Implements multiple methods for predicting days until stockout
6
  import pandas as pd
7
  import numpy as np
8
  from datetime import datetime, timedelta
9
- from typing import Dict, List, Optional, Tuple
10
  import logging
11
 
12
  logger = logging.getLogger(__name__)
 
6
  import pandas as pd
7
  import numpy as np
8
  from datetime import datetime, timedelta
9
+ from typing import Dict, List, Optional, Tuple, Any
10
  import logging
11
 
12
  logger = logging.getLogger(__name__)