Skip to content

Commit

Permalink
Moves forecast.operate into the __main__
Browse files Browse the repository at this point in the history
  • Loading branch information
mrDzurb committed Oct 17, 2023
1 parent b280b10 commit fcf7c16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ads/opctl/operator/lowcode/forecast/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
from ads.opctl.operator.common.const import ENV_OPERATOR_ARGS
from ads.opctl.operator.common.utils import _parse_input_args

from .model.factory import ForecastOperatorModelFactory
from .operator_config import ForecastOperatorConfig


def operate(operator_config: ForecastOperatorConfig) -> None:
"""Runs the forecasting operator."""
from .model.factory import ForecastOperatorModelFactory

ForecastOperatorModelFactory.get_model(operator_config).generate_report()


Expand Down

0 comments on commit fcf7c16

Please sign in to comment.