Commit 6fd72e6
committed
Merged PR 6157: SYNC: Github main to ADO main
#### AI description (iteration 1)
#### PR Classification
This PR implements API enhancements and extensive test/pipeline improvements to strengthen metadata, output conversion, encoding/decoding, and batch execution features.
#### PR Summary
- **`eng/pipelines/build-whl-pipeline.yml` & `.github/workflows/pr-code-coverage.yml`:** Updated to build wheels and report code coverage across multi‑architecture Linux containers (manylinux, musllinux, Alpine, etc.).
- **`mssql_python/cursor.py`:** Improved metadata handling and result set processing with new helper methods and fallback descriptions.
- **`mssql_python/connection.py`:** Added a robust output converter API (including methods to add, get, remove, and clear converters) and enhanced `execute`/`batch_execute` with better error and timeout management.
- **Tests in `/tests/`:** Expanded coverage for connection, encoding/decoding, output converters, rowcount, transaction handling, and thread safety to meet DB‑API 2.0 requirements.
- **File deletion:** Removed `mssql_python/testing_ddbc_bindings.py` as its functionality has been integrated into the main modules.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->
Related work items: #390621 parent ec764d1 commit 6fd72e6
File tree
7 files changed
+622
-31
lines changed- mssql_python
- pybind
- connection
- tests
7 files changed
+622
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1613 | 1613 | | |
1614 | 1614 | | |
1615 | 1615 | | |
| 1616 | + | |
1616 | 1617 | | |
1617 | 1618 | | |
1618 | 1619 | | |
| |||
1724 | 1725 | | |
1725 | 1726 | | |
1726 | 1727 | | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
1727 | 1732 | | |
1728 | 1733 | | |
1729 | 1734 | | |
| |||
1732 | 1737 | | |
1733 | 1738 | | |
1734 | 1739 | | |
| 1740 | + | |
| 1741 | + | |
1735 | 1742 | | |
1736 | 1743 | | |
1737 | 1744 | | |
| |||
1774 | 1781 | | |
1775 | 1782 | | |
1776 | 1783 | | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
| 1788 | + | |
| 1789 | + | |
1777 | 1790 | | |
1778 | 1791 | | |
1779 | 1792 | | |
| |||
1806 | 1819 | | |
1807 | 1820 | | |
1808 | 1821 | | |
| 1822 | + | |
| 1823 | + | |
| 1824 | + | |
| 1825 | + | |
| 1826 | + | |
| 1827 | + | |
1809 | 1828 | | |
1810 | 1829 | | |
1811 | 1830 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
176 | 177 | | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
665 | 665 | | |
666 | 666 | | |
667 | 667 | | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
668 | 696 | | |
669 | 697 | | |
670 | 698 | | |
671 | | - | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
672 | 706 | | |
673 | | - | |
674 | | - | |
| 707 | + | |
| 708 | + | |
675 | 709 | | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
683 | 720 | | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
684 | 725 | | |
685 | | - | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
686 | 729 | | |
687 | 730 | | |
688 | 731 | | |
| |||
993 | 1036 | | |
994 | 1037 | | |
995 | 1038 | | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
1003 | 1048 | | |
| 1049 | + | |
| 1050 | + | |
1004 | 1051 | | |
1005 | 1052 | | |
1006 | | - | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
1007 | 1059 | | |
1008 | 1060 | | |
1009 | 1061 | | |
| |||
2017 | 2069 | | |
2018 | 2070 | | |
2019 | 2071 | | |
2020 | | - | |
2021 | | - | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
2022 | 2076 | | |
2023 | 2077 | | |
2024 | 2078 | | |
| |||
3851 | 3905 | | |
3852 | 3906 | | |
3853 | 3907 | | |
| 3908 | + | |
| 3909 | + | |
| 3910 | + | |
| 3911 | + | |
| 3912 | + | |
| 3913 | + | |
| 3914 | + | |
| 3915 | + | |
3854 | 3916 | | |
3855 | 3917 | | |
3856 | 3918 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments