microsoft / microsoft/mssql-python
Implement callproc() for full DB-API 2.0 compliance
オープン
@gargsaumya がすでに取り組んでいます。
2026年8月10日 から。
area: api-compliance
enhancement
- 主要言語
- Python
- スター
- 473
- フォーク
- 60
- 平均マージ
- 2日 11時間
- マージ済み PR(30日)
- 36
説明
Summary
callproc() currently raises NotSupportedError. It is the only remaining gap to full PEP 249 (DB-API 2.0) cursor interface compliance.
Current behavior
cursor.callproc('dbo.my_proc', [1, 'abc'])
# Raises: NotSupportedError
Workaround
Users must use cursor.execute() with either EXEC or the ODBC {CALL ...} escape sequence:
cursor.execute('{CALL dbo.my_proc(?, ?)}', [1, 'abc'])
Expected behavior
callproc() should execute a stored procedure and return modified copies of the input parameters, per the PEP 249 specification.
Impact
The driver currently reports apilevel = '2.0' and the cursor interface is listed as "Mostly compliant" solely because of this gap.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。