massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / mysqlclient / MySQLdb / __init__.pyi
1 from typing import Any, FrozenSet
2
3 from MySQLdb import connections as connections, constants as constants, converters as converters, cursors as cursors
4 from MySQLdb._mysql import (
5     DatabaseError as DatabaseError,
6     DataError as DataError,
7     Error as Error,
8     IntegrityError as IntegrityError,
9     InterfaceError as InterfaceError,
10     InternalError as InternalError,
11     MySQLError as MySQLError,
12     NotSupportedError as NotSupportedError,
13     OperationalError as OperationalError,
14     ProgrammingError as ProgrammingError,
15     Warning as Warning,
16     debug as debug,
17     escape as escape,
18     escape_string as escape_string,
19     get_client_info as get_client_info,
20     string_literal as string_literal,
21 )
22 from MySQLdb.connections import Connection as Connection
23 from MySQLdb.constants import FIELD_TYPE as FIELD_TYPE
24 from MySQLdb.release import version_info as version_info
25 from MySQLdb.times import (
26     Date as Date,
27     DateFromTicks as DateFromTicks,
28     Time as Time,
29     TimeFromTicks as TimeFromTicks,
30     Timestamp as Timestamp,
31     TimestampFromTicks as TimestampFromTicks,
32 )
33
34 threadsafety: int
35 apilevel: str
36 paramstyle: str
37
38 class DBAPISet(FrozenSet[Any]):
39     def __eq__(self, other): ...
40
41 STRING: Any
42 BINARY: Any
43 NUMBER: Any
44 DATE: Any
45 TIME: Any
46 TIMESTAMP: Any
47 DATETIME: Any
48 ROWID: Any
49
50 def Binary(x): ...
51 def Connect(*args, **kwargs): ...
52
53 connect = Connect