mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
[ibm-db] Add stubs for ibm_db_ctx (#15463)
This commit is contained in:
@@ -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: ...
|
||||
Reference in New Issue
Block a user