Skip to content

Update app.py to fix pydantic import issue#14

Open
Samsam987 wants to merge 1 commit intolitements:mainfrom
Samsam987:patch-1
Open

Update app.py to fix pydantic import issue#14
Samsam987 wants to merge 1 commit intolitements:mainfrom
Samsam987:patch-1

Conversation

@Samsam987
Copy link
Copy Markdown

There was an issue while importing pydantic package as BaseSettings has been moved. The quick fix was to replace pydantic by pydantic.v1 inside the app file. However there is a migration guide available on https://docs.pydantic.dev/2.8/migration/ if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant