Skip to content

Outdated pydantic settings #1

Open
@roksage

Description

@roksage

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions