feat: Upgrade to Pydantic V2 (#3134)

* bumped pydantic
This commit is contained in:
Michael Genson 2024-02-11 10:47:37 -06:00 committed by GitHub
commit 7a107584c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
129 changed files with 1138 additions and 833 deletions

View file

@ -7,8 +7,8 @@ from tests.utils.alembic_reader import ALEMBIC_MIGRATIONS, import_file
class AlembicMigration(BaseModel):
path: pathlib.Path
revision: str | None
down_revision: str | None
revision: str | None = None
down_revision: str | None = None
def test_alembic_revisions_are_in_order() -> None: