Browse Source

Fix typos in contributing and migration docs

pull/14866/head
Varun Chawla 5 months ago
committed by veeceey
parent
commit
43e9a51e23
  1. 2
      docs/en/docs/contributing.md
  2. 2
      docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

2
docs/en/docs/contributing.md

@ -92,7 +92,7 @@ That way, you can edit the documentation/source files and see the changes live.
/// tip
Alternatively, you can perform the same steps that scripts does manually.
Alternatively, you can perform the same steps that the script does manually.
Go into the language directory, for the main docs in English it's at `docs/en/`:

2
docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

@ -130,6 +130,6 @@ First try with `bump-pydantic`, if your tests pass and that works, then you're d
If `bump-pydantic` doesn't work for your use case, you can use the support for both Pydantic v1 and v2 models in the same app to do the migration to Pydantic v2 gradually.
You could fist upgrade Pydantic to use the latest version 2, and change the imports to use `pydantic.v1` for all your models.
You could first upgrade Pydantic to use the latest version 2, and change the imports to use `pydantic.v1` for all your models.
Then, you can start migrating your models from Pydantic v1 to v2 in groups, in gradual steps. 🚶

Loading…
Cancel
Save