mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-29 06:12:13 +08:00
Update Ruff and enable F821 in stubs (#11771)
This commit is contained in:
@@ -11,7 +11,6 @@ from .resultrow import ResultRow
|
||||
apilevel: str
|
||||
threadsafety: int
|
||||
paramstyle: tuple[str, ...] # hdbcli defines it as a tuple which does not follow PEP 249
|
||||
connect = Connection
|
||||
|
||||
class Connection:
|
||||
def __init__(
|
||||
@@ -40,6 +39,8 @@ class Connection:
|
||||
def setautocommit(self, auto: bool = ...) -> None: ...
|
||||
def setclientinfo(self, key: str, value: str | None = ...) -> None: ...
|
||||
|
||||
connect = Connection
|
||||
|
||||
class LOB:
|
||||
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
|
||||
def close(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user