8000 Remove pydantic dependency by sdb9696 · Pull Request #1289 · python-kasa/python-kasa · GitHub
[go: up one dir, main page]

Skip to content

Remove pydantic dependency #1289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions kasa/cli/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from pprint import pformat as pf

import asyncclick as click
from pydantic.v1 import ValidationError

from kasa import (
AuthenticationError,
Expand Down Expand Up @@ -208,7 +207,7 @@

try:
dr = DiscoveryResult.from_dict(discovery_info)
except ValidationError:
except Exception:

Check warning on line 210 in kasa/cli/discover.py

View check run for this annotation

Codecov / codecov/patch

kasa/cli/discover.py#L210

Added line #L210 was not covered by tests
_echo_dictionary(discovery_info)
return

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ readme = "README.md"
requires-python = ">=3.11,<4.0"
dependencies = [
"asyncclick>=8.1.7",
"pydantic>=1.10.15",
"cryptography>=1.9",
"aiohttp>=3",
"tzdata>=2024.2 ; platform_system == 'Windows'",
Expand Down
72 changes: 0 additions & 72 deletions uv.lock

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

Loading
0