Skip to content

Commit

Permalink
bug: fix pydantic error for batch prediction job executor
Browse files Browse the repository at this point in the history
  • Loading branch information
khorshuheng committed Feb 15, 2024
1 parent 6838844 commit ad5511d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/batch-predictor/merlinpyspark/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

import numpy as np
import pandas
# Import the classes so that Pydantic can cache the schema. See https://github.com/caraml-dev/merlin/pull/535
from merlin.model import PyFuncModel, PyFuncV2Model, PyFuncV3Model
from mlflow.tracking.artifact_utils import _download_artifact_from_uri
from mlflow.utils.file_utils import TempDir
from pyspark.sql import SparkSession
Expand Down

0 comments on commit ad5511d

Please sign in to comment.