Add support for pydantic v2 using v1 shims (#504)

This commit is contained in:
Teemu R
2023-08-28 17:48:49 +02:00
committed by GitHub
parent 0cb6f21d36
commit 53021f07fe
5 changed files with 456 additions and 341 deletions

View File

@@ -22,7 +22,7 @@ kasa = "kasa.cli:cli"
python = "^3.8"
anyio = "*" # see https://github.com/python-trio/asyncclick/issues/18
asyncclick = ">=8"
pydantic = "^1"
pydantic = ">=1"
# speed ups
orjson = { "version" = ">=3.9.1", optional = true }