[ibm-db] Add stubs for ibm_db_ctx (#15463)

This commit is contained in:
Brian Schubert
2026-02-25 04:26:47 -05:00
committed by GitHub
parent fdbb8d5e34
commit d6cdd5ec6d
+8
View File
@@ -0,0 +1,8 @@
from types import TracebackType
import ibm_db
class Db2connect:
def __init__(self, dsn: str, username: str, password: str) -> None: ...
def __enter__(self) -> ibm_db.IBM_DBConnection: ...
def __exit__(self, t: type[BaseException] | None, v: BaseException | None, tb: TracebackType | None) -> None: ...