Skip to content
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

Migrate to Pydantic 2.0 standards #195

Merged
merged 1 commit into from
Aug 15, 2023
Merged

Migrate to Pydantic 2.0 standards #195

merged 1 commit into from
Aug 15, 2023

Conversation

bachya
Copy link
Owner

@bachya bachya commented Aug 15, 2023

Describe what the PR does:

#176 allowed us to bump pydantic above 2.0.0, but it still utilized <2.0.0 patterns. This PR migrates things to use 2.0.0+ standards.

Does this fix a specific issue?

N/A

Checklist:

  • Confirm that one or more new tests are written for the new functionality.
  • Run tests and ensure everything passes (with 100% test coverage).
  • Update README.md with any new documentation.

@bachya bachya added the maintenance Generic library tasks label Aug 15, 2023
@bachya bachya self-assigned this Aug 15, 2023
@codecov
Copy link

codecov bot commented Aug 15, 2023

Codecov Report

Merging #195 (8cd98aa) into dev (4a58893) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##               dev      #195   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          505       486   -19     
=========================================
- Hits           505       486   -19     
Files Changed Coverage Δ
aiopurpleair/helpers/validator/__init__.py 100.00% <ø> (ø)
aiopurpleair/helpers/validator/sensors.py 100.00% <ø> (ø)
aiopurpleair/api.py 100.00% <100.00%> (ø)
aiopurpleair/endpoints/__init__.py 100.00% <100.00%> (ø)
aiopurpleair/helpers/model.py 100.00% <100.00%> (ø)
aiopurpleair/models/keys.py 100.00% <100.00%> (ø)
aiopurpleair/models/sensors.py 100.00% <100.00%> (ø)

@bachya bachya merged commit 47c6c1c into dev Aug 15, 2023
@bachya bachya deleted the pydantic-2 branch August 15, 2023 19:32
bachya added a commit that referenced this pull request Aug 15, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
maintenance Generic library tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant