Skip to content

Commit

Permalink
refactor: use pydantic for message validation (#91)
Browse files Browse the repository at this point in the history
### Summary of Changes

Use `pydantic` to easily describe valid messages.

---------

Co-authored-by: megalinter-bot <129584137+megalinter-bot@users.noreply.github.com>
  • Loading branch information
lars-reimann and megalinter-bot authored Apr 22, 2024
1 parent 07d4c15 commit 562ad8e
Show file tree
Hide file tree
Showing 7 changed files with 274 additions and 376 deletions.
123 changes: 122 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ safe-ds-runner = "safeds_runner.main:main"
python = "^3.11,<3.13"
safe-ds = ">=0.20,<0.22"
hypercorn = "^0.16.0"
quart = "^0.19.4"
psutil = "^5.9.8"
pydantic = "^2.7.0"
quart = "^0.19.4"

[tool.poetry.dev-dependencies]
pytest = "^8.1.1"
Expand Down
Loading

0 comments on commit 562ad8e

Please sign in to comment.