From 2d0c2ea78815378b1c6c41d8711eb8ba8c3c9e3b Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Wed, 27 Sep 2023 09:43:47 +0200 Subject: [PATCH] Revert "Fix typo in docs for new private dunder pydantic method names (#7657)" This reverts commit 24e92226c288e2ff6ce1d1eb51d8d53e9c3c58dd. --- docs/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migration.md b/docs/migration.md index 4c7f3ff800..6ebbca8a21 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -78,7 +78,7 @@ The following sections provide details on the most important changes in Pydantic ### Changes to `pydantic.BaseModel` Various method names have been changed; all non-deprecated `BaseModel` methods now have names matching either the -format `model_.*` or `__pydantic_.*__`. Where possible, we have retained the deprecated methods with their old names +format `model_.*` or `__.*pydantic.*__`. Where possible, we have retained the deprecated methods with their old names to help ease migration, but calling them will emit `DeprecationWarning`s. | Pydantic V1 | Pydantic V2 |