mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 08:58:44 +08:00
[ibm-db] Add stubs for ibm_db_ctx (#15463)
This commit is contained in:
1 parent
fdbb8d5e34
commit
d6cdd5ec6d
1 file changed
+8
@@ -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