mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 14:50:19 +00:00
45db4ad3aa
* ✨ Add autocomplete support for VS Code, via dataclass_transform * 📝 Update changes * 📝 Add docs for VS Code * 📝 Clarify strict type error checks alternatives, include example with cast() * ♻️ Update BaseSettings annotation to improve editor support keeping editor support for BaseSetting's custom Config, but preventing __config__ from showing in constructor on editors supporting dataclass_transform * 🎨 Remove unused type: ignore comment * 🎨 Update type annotations for BaseSettings and BaseModel to use ClassVar where suitable to improve editor support with type annotations and dataclass_transform * 🎨 Apply ClassVars again * 📝 Simplify VS Code docs terms refer mainly to Pylance and clarify the relationship with Pyright * 📝 Add link to Pylance FAQ Co-authored-by: PrettyWood <em.jolibois@gmail.com>
24 KiB
910x281px
24 KiB
910x281px