FastAPI-Microservice-for-Django
FastAPI-Microservice-for-Django copied to clipboard
Outdated pydantic settings
There's a problem when building API in digitalocean.
pydantic.errors.PydanticImportError: BaseSettingshas been moved to thepydantic-settings package
FIX:
# from pydantic import BaseSettings # OLD
from pydantic_settings import BaseSettings # NEW