Update stubs

This commit is contained in:
Trinh Anh Ngoc
2022-10-16 15:14:16 +07:00
parent 8b45d77c21
commit 464baf9ae2

View File

@@ -12,8 +12,8 @@ from .tools import Callbacks
_T = TypeVar('_T')
_CursorT = TypeVar('_CursorT', bound=Cursor)
def unbuffer(symb, cr: Cursor): ...
def undecimalize(symb, cr: Cursor): ...
def unbuffer(symb, cr: Cursor) -> str | None: ...
def undecimalize(symb, cr: Cursor) -> float | None: ...
def adapt_string(adapted: str) -> psycopg2.extensions.QuotedString: ...
def flush_env(cr: Cursor, *, clear: bool = ...) -> None: ...
def clear_env(cr: Cursor) -> None: ...