massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / pymysql / __init__.pyi
1 from typing import Union, Tuple, Callable\r
2 from .connections import Connection\r
3 from .constants import FIELD_TYPE as FIELD_TYPE\r
4 from .converters import escape_dict as escape_dict, escape_sequence as escape_sequence, escape_string as escape_string\r
5 from .err import Warning as Warning, Error as Error, InterfaceError as InterfaceError, DataError as DataError, DatabaseError as DatabaseError, OperationalError as OperationalError, IntegrityError as IntegrityError, InternalError as InternalError, NotSupportedError as NotSupportedError, ProgrammingError as ProgrammingError, MySQLError as MySQLError\r
6 from .times import Date as Date, Time as Time, Timestamp as Timestamp, DateFromTicks as DateFromTicks, TimeFromTicks as TimeFromTicks, TimestampFromTicks as TimestampFromTicks\r
7 \r
8 threadsafety = ...  # type: int\r
9 apilevel = ...  # type: str\r
10 paramstyle = ...  # type: str\r
11 \r
12 class DBAPISet(frozenset):\r
13     def __ne__(self, other) -> bool: ...\r
14     def __eq__(self, other) -> bool: ...\r
15     def __hash__(self) -> int: ...\r
16 \r
17 STRING = ...  # type: DBAPISet\r
18 BINARY = ...  # type: DBAPISet\r
19 NUMBER = ...  # type: DBAPISet\r
20 DATE = ...  # type: DBAPISet\r
21 TIME = ...  # type: DBAPISet\r
22 TIMESTAMP = ...  # type: DBAPISet\r
23 ROWID = ...  # type: DBAPISet\r
24 \r
25 def Binary(x) -> Union[bytearray, bytes]: ...\r
26 def Connect(*args, **kwargs) -> Connection: ...\r
27 def get_client_info() -> str: ...\r
28 \r
29 connect = ...  # type: Callable[..., Connection]\r
30 \r
31 \r
32 version_info = ...  # type: Tuple[int, int, int, str, int]\r
33 NULL = ...  # type: str\r
34 \r
35 def install_as_MySQLdb() -> None: ...\r