Skip to content

Conversation

@ltucker
Copy link
Contributor

@ltucker ltucker commented Apr 13, 2025

special transformations to format inputs the way serializers expect

  • date only fields (must be YYYY-MM-DD)
  • decimal (vs float) which has precision validation that does not work well with floats
  • integer range which is a postgres specific type (tuple of integers)

special transformations to format inputs the way serializers expect
adds handling for date only fields, decimal (vs float) and integer range
@github-actions
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
2399 2215 92% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
netbox_diode_plugin/api/applier.py 96% 🟢
netbox_diode_plugin/api/common.py 86% 🟢
netbox_diode_plugin/api/differ.py 91% 🟢
netbox_diode_plugin/api/plugin_utils.py 83% 🟢
netbox_diode_plugin/api/transformer.py 87% 🟢
netbox_diode_plugin/tests/test_api_diff_and_apply.py 100% 🟢
TOTAL 91% 🟢

updated for commit: af2669f by action🐍

@ltucker ltucker merged commit 53158b2 into feat-diode-data-plugin Apr 13, 2025
3 checks passed
@ltucker ltucker deleted the special_formats branch April 13, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants