Skip to content

Commit

Permalink
fix: bump pydantic from 1.10.13 to 2.4.2 (#299)
Browse files Browse the repository at this point in the history
* build(deps): bump pydantic from 1.10.13 to 2.4.2

Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.13 to 2.4.2.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v1.10.13...v2.4.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: support for Pydantic v2+

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Varjitt Jeeva <varjitt.jeeva@autodesk.com>
  • Loading branch information
dependabot[bot] and vjeeva committed Nov 9, 2023
1 parent fbe843e commit 8597fcc
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 44 deletions.
2 changes: 1 addition & 1 deletion pgbelt/config/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async def save(self):
pass

async with aopen(self.file, "w") as f:
await f.write(self.json(indent=4))
await f.write(self.model_dump_json(indent=4))

logger.info("Cached config to disk.")

Expand Down
Loading

0 comments on commit 8597fcc

Please sign in to comment.