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

Add defaults for pydantic fields #46

Merged
merged 2 commits into from
Dec 4, 2024
Merged

Add defaults for pydantic fields #46

merged 2 commits into from
Dec 4, 2024

Conversation

robberwick
Copy link
Owner

This pull request includes several changes to the pylibrelinkup project, focusing on adding default values to model fields and updating tests to handle new fixtures. The most important changes include setting default values for various fields in multiple models and adding new test fixtures and test cases.

Model Updates:

Test Updates:

@robberwick robberwick requested a review from Copilot December 3, 2024 19:11
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 8 changed files in this pull request and generated 1 suggestion.

Files not reviewed (3)
  • tests/data/graph_response_no_u.json: Language not supported
  • src/pylibrelinkup/models/hardware.py: Evaluated as low risk
  • src/pylibrelinkup/models/data.py: Evaluated as low risk

src/pylibrelinkup/models/login.py Outdated Show resolved Hide resolved
@robberwick robberwick requested a review from Copilot December 4, 2024 07:59
@robberwick robberwick merged commit 5fcbe51 into main Dec 4, 2024
6 checks passed
@robberwick robberwick deleted the defaults branch December 4, 2024 08:01

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 5 out of 8 changed files in this pull request and generated no suggestions.

Files not reviewed (3)
  • tests/data/graph_response_no_u.json: Language not supported
  • src/pylibrelinkup/models/data.py: Evaluated as low risk
  • src/pylibrelinkup/models/hardware.py: Evaluated as low risk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants