Skip to content

CCLA-1008: [SDK] align python SDK with the DB cleaup some table#133

Merged
UBiqube-ydu merged 5 commits intomasterfrom
CCLA-1008/align_sdk_with_db_cleanup
Jul 22, 2025
Merged

CCLA-1008: [SDK] align python SDK with the DB cleaup some table#133
UBiqube-ydu merged 5 commits intomasterfrom
CCLA-1008/align_sdk_with_db_cleanup

Conversation

@abr-ubiqube
Copy link
Copy Markdown
Member

No description provided.

@abr-ubiqube abr-ubiqube requested a review from Copilot July 21, 2025 14:28
@abr-ubiqube abr-ubiqube marked this pull request as draft July 21, 2025 14:28

This comment was marked as outdated.

@abr-ubiqube abr-ubiqube requested a review from Copilot July 21, 2025 15:09
Copy link
Copy Markdown
Contributor

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.

Pull Request Overview

This PR aligns the Python SDK with database cleanup by commenting out assertions related to the mail_alerting field in device tests, likely due to the removal of this field from the database schema.

  • Commented out mail_alerting field assertions in device test cases
  • Updated two test methods to remove validation of the deprecated field
Comments suppressed due to low confidence (2)

tests/test_device_get.py:41

  • Instead of commenting out this assertion, consider removing it entirely if the mail_alerting field has been removed from the database schema. Commented-out test code reduces maintainability and clarity.
#        assert not device.mail_alerting

tests/test_device_get.py:101

  • Instead of commenting out this assertion, consider removing it entirely if the mail_alerting field has been removed from the database schema. Commented-out test code reduces maintainability and clarity.
#        assert not device.mail_alerting

@abr-ubiqube abr-ubiqube requested a review from UBiqube-ydu July 21, 2025 15:15
@abr-ubiqube abr-ubiqube marked this pull request as ready for review July 21, 2025 15:15
@UBiqube-ydu UBiqube-ydu merged commit fef822e into master Jul 22, 2025
2 checks passed
@UBiqube-ydu UBiqube-ydu deleted the CCLA-1008/align_sdk_with_db_cleanup branch July 22, 2025 10:22
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.

4 participants