Skip to content

Conversation

JeanArhancet
Copy link
Contributor

@JeanArhancet JeanArhancet commented Aug 3, 2023

Change Summary

Fix mypy error with Settings and SettingsConfigDict

Related issue number

Fix #6985

Checklist

  • The pull request title is a good summary of the changes - it will be used in the changelog
  • Unit tests for the changes exist
  • Tests pass on CI
  • Documentation reflects the changes where applicable
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Selected Reviewer: @davidhewitt

@JeanArhancet JeanArhancet marked this pull request as ready for review August 3, 2023 13:26
@JeanArhancet
Copy link
Contributor Author

please review

@hramezani
Copy link
Member

Thanks @JeanArhancet for the fix 🙏

This LGTM 👍

test fast-api is failing that will be fixed after #7014

@dmontagu it would be great if you also take a look

@martinky24
Copy link

I filed what is believed to be a version of this issue at python/mypy#15804, and after installing this branch it seems to fix the error. 👍

@hramezani
Copy link
Member

@JeanArhancet please rebase on top of main.

JeanArhancet and others added 4 commits August 7, 2023 20:23
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
Co-authored-by: Hasan Ramezani <hasan.r67@gmail.com>
@JeanArhancet JeanArhancet force-pushed the fix/mypy-settings-config-dict branch from 230bf31 to 6ff8ec4 Compare August 7, 2023 18:23
Copy link
Contributor

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had a quick chat with @dmontagu about this offline, LGTM. Many thanks 👍

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

Successfully merging this pull request may close these issues.

pydantic.mypy plugin error using pydantic_settings SettingsConfigDict
5 participants