Advanced Designer Learning Path is now live! Read More

from dataikuapi.dss.scenario import StepBasedScenarioSettings throws error

Level 3
from dataikuapi.dss.scenario import StepBasedScenarioSettings throws error

Hi

Up until now I used this code with no issues, and suddenly today, I started to get:

from dataikuapi.dss.scenario import StepBasedScenarioSettings  # type: ignore
ModuleNotFoundError: No module named 'dataikuapi.dss.scenario'

was there any change? why I suddenly gets it?

0 Kudos
1 Reply
Dataiker
Dataiker

Hi,

you should be creating instances of that class by calling get_settings() on an instance of a scenario object. This being said that class hasn"t been moved, so it's likely that the entire dataikuapi package is gone. Either the install has moved or changed or the files were plain removed.

A banner prompting to get Dataiku DSS