We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ibm_db_ctx
1 parent fdbb8d5 commit d6cdd5eCopy full SHA for d6cdd5e
stubs/ibm-db/ibm_db_ctx.pyi
@@ -0,0 +1,8 @@
1
+from types import TracebackType
2
+
3
+import ibm_db
4
5
+class Db2connect:
6
+ def __init__(self, dsn: str, username: str, password: str) -> None: ...
7
+ def __enter__(self) -> ibm_db.IBM_DBConnection: ...
8
+ def __exit__(self, t: type[BaseException] | None, v: BaseException | None, tb: TracebackType | None) -> None: ...
0 commit comments