Skip to content

Conversation

@basarbyz
Copy link
Collaborator

closes #8

basarbyz added 2 commits July 23, 2024 12:18
- Updated dependencies to use Pydantic v2.
- Refactored code to align with Pydantic v2 API changes.
- Adjusted data model definitions to accommodate new validation and settings features.
- Modified any custom validation logic or configurations affected by the upgrade.
- Fixed validation errors caused by incomplete response model.
@basarbyz basarbyz requested a review from djs0109 July 23, 2024 13:50
@basarbyz basarbyz linked an issue Jul 23, 2024 that may be closed by this pull request
basarbyz and others added 24 commits July 30, 2024 07:25
…e subscription status via response headers

- Removed the `subscribe` field from `Datapoint`, `DatapointUpdate`, and `DatapointPartialUpdate` models.
- Updated `add_datapoint` endpoint to return subscription status via response headers.
- Updated `delete_datapoint` endpoint to return unsubscription status via response headers.
- Ensured all database queries properly map records to the `Datapoint` model to avoid validation errors.
- Adjusted response handling to conform to the updated models and prevent response validation errors.
…ps_kwargs and changed filip version to 0.3.0
…del_dump_json(), matchDatapoint attributes are replaced with connected in tests
…del_copy(), some small bugs in tests are fixed
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.

forbid extra fields in payload

2 participants