| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/psycopg2-stubs/ |
Upload File : |
from collections.abc import Callable
from typing import Any
from typing_extensions import Self
from psycopg2._psycopg import _type, connection, cursor
JSON_OID: int
JSONARRAY_OID: int
JSONB_OID: int
JSONBARRAY_OID: int
class Json:
adapted: Any
def __init__(self, adapted: Any, dumps: Callable[..., str] | None = None) -> None: ...
def __conform__(self, proto) -> Self | None: ...
def dumps(self, obj: Any) -> str: ...
def prepare(self, conn: connection | None) -> None: ...
def getquoted(self) -> bytes: ...
def register_json(
conn_or_curs: connection | cursor | None = None,
globally: bool = False,
loads: Callable[..., Any] | None = None,
oid: int | None = None,
array_oid: int | None = None,
name: str = "json",
) -> tuple[_type, _type | None]: ...
def register_default_json(
conn_or_curs: connection | cursor | None = None, globally: bool = False, loads: Callable[..., Any] | None = None
) -> tuple[_type, _type | None]: ...
def register_default_jsonb(
conn_or_curs: connection | cursor | None = None, globally: bool = False, loads: Callable[..., Any] | None = None
) -> tuple[_type, _type | None]: ...