Commit 26c7437
Saurabh Badenkal
Address new Copilot review comments (round 3)
- Use VALIDATION_SQL_EMPTY constant instead of string literal in batch sql()
- Use VALIDATION_UNSUPPORTED_COLUMN_TYPE constant in all 3 _odata.py locations
- Import the constant from _error_codes.py
- Add input validation to _build_create_multiple (all items must be dicts)
- Narrow test assertions from Exception to ValidationError in test_odata_internal1 parent 7d714be commit 26c7437
3 files changed
Lines changed: 14 additions & 6 deletions
File tree
- src/PowerPlatform/Dataverse
- data
- operations
- tests/unit/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
1643 | 1644 | | |
1644 | 1645 | | |
1645 | 1646 | | |
1646 | | - | |
| 1647 | + | |
1647 | 1648 | | |
1648 | 1649 | | |
1649 | 1650 | | |
| |||
1759 | 1760 | | |
1760 | 1761 | | |
1761 | 1762 | | |
| 1763 | + | |
| 1764 | + | |
1762 | 1765 | | |
1763 | 1766 | | |
1764 | 1767 | | |
| |||
2007 | 2010 | | |
2008 | 2011 | | |
2009 | 2012 | | |
2010 | | - | |
| 2013 | + | |
2011 | 2014 | | |
2012 | 2015 | | |
2013 | 2016 | | |
| |||
2078 | 2081 | | |
2079 | 2082 | | |
2080 | 2083 | | |
2081 | | - | |
| 2084 | + | |
2082 | 2085 | | |
2083 | 2086 | | |
2084 | 2087 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
538 | 539 | | |
539 | 540 | | |
540 | 541 | | |
541 | | - | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
542 | 546 | | |
543 | 547 | | |
544 | 548 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
588 | 589 | | |
589 | 590 | | |
590 | 591 | | |
591 | | - | |
| 592 | + | |
592 | 593 | | |
593 | 594 | | |
594 | 595 | | |
| |||
599 | 600 | | |
600 | 601 | | |
601 | 602 | | |
602 | | - | |
| 603 | + | |
603 | 604 | | |
604 | 605 | | |
605 | 606 | | |
| |||
0 commit comments