Skip to content

Commit

Permalink
Update pydantic/_migration.py
Browse files Browse the repository at this point in the history
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
  • Loading branch information
swetjen and hramezani committed Aug 5, 2023
1 parent 3114d7f commit 45c8c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic/_migration.py
Expand Up @@ -288,7 +288,7 @@ def wrapper(name: str) -> object:
if import_path == 'pydantic:BaseSettings':
raise PydanticImportError(
'`BaseSettings` has been moved to the `pydantic-settings` package. '
f'See https://docs.pydantic.dev/latest/migration/#basesettings-has-moved-to-pydantic-settings '
f'See https://docs.pydantic.dev/{".".join(VERSION.split(".")[:2])}/migration/#basesettings-has-moved-to-pydantic-settings '
'for more details.'
)
if import_path in REMOVED_IN_V2:
Expand Down

0 comments on commit 45c8c9c

Please sign in to comment.