Skip to content

Commit

Permalink
Fix BaseSettings import for pydantic v2 (#1798)
Browse files Browse the repository at this point in the history
* Bumped preflight version to 1.9.7

* Fix BaseSetting import for pydantic v2 in generate_dotenv

* Master preflight version.
  • Loading branch information
RobertSamoilescu authored Jun 7, 2024
1 parent f332723 commit 97854f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/generate_dotenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import os

from typing import List, Tuple, Type
from pydantic import BaseSettings
from pydantic_settings import BaseSettings

from mlserver.settings import Settings, ModelSettings, ModelParameters
from mlserver.cli.serve import DEFAULT_SETTINGS_FILENAME
Expand Down

0 comments on commit 97854f6

Please sign in to comment.