from dataikuapi.dss.scenario import StepBasedScenarioSettings throws error

Options
arielma2304
arielma2304 Registered Posts: 47 ✭✭✭✭
edited July 16 in General Discussion

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?

Best Answer

  • fchataigner2
    fchataigner2 Dataiker Posts: 355 Dataiker
    Answer ✓
    Options

    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.

Setup Info
    Tags
      Help me…