massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / psycopg2 / psycopg2 / sql.pyi
1 from typing import Any
2
3 class Composable:
4     def __init__(self, wrapped) -> None: ...
5     def as_string(self, context) -> None: ...
6     def __add__(self, other): ...
7     def __mul__(self, n): ...
8     def __eq__(self, other): ...
9     def __ne__(self, other): ...
10
11 class Composed(Composable):
12     def __init__(self, seq) -> None: ...
13     @property
14     def seq(self): ...
15     def as_string(self, context): ...
16     def __iter__(self): ...
17     def __add__(self, other): ...
18     def join(self, joiner): ...
19
20 class SQL(Composable):
21     def __init__(self, string) -> None: ...
22     @property
23     def string(self): ...
24     def as_string(self, context): ...
25     def format(self, *args, **kwargs): ...
26     def join(self, seq): ...
27
28 class Identifier(Composable):
29     def __init__(self, *strings) -> None: ...
30     @property
31     def strings(self): ...
32     @property
33     def string(self): ...
34     def as_string(self, context): ...
35
36 class Literal(Composable):
37     @property
38     def wrapped(self): ...
39     def as_string(self, context): ...
40
41 class Placeholder(Composable):
42     def __init__(self, name: Any | None = ...) -> None: ...
43     @property
44     def name(self): ...
45     def as_string(self, context): ...
46
47 NULL: Any
48 DEFAULT: Any