massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Flask / flask / json / tag.pyi
1 from typing import Any
2
3 class JSONTag:
4     key: Any = ...
5     serializer: Any = ...
6     def __init__(self, serializer: Any) -> None: ...
7     def check(self, value: Any) -> None: ...
8     def to_json(self, value: Any) -> None: ...
9     def to_python(self, value: Any) -> None: ...
10     def tag(self, value: Any): ...
11
12 class TagDict(JSONTag):
13     key: str = ...
14     def check(self, value: Any): ...
15     def to_json(self, value: Any): ...
16     def to_python(self, value: Any): ...
17
18 class PassDict(JSONTag):
19     def check(self, value: Any): ...
20     def to_json(self, value: Any): ...
21     tag: Any = ...
22
23 class TagTuple(JSONTag):
24     key: str = ...
25     def check(self, value: Any): ...
26     def to_json(self, value: Any): ...
27     def to_python(self, value: Any): ...
28
29 class PassList(JSONTag):
30     def check(self, value: Any): ...
31     def to_json(self, value: Any): ...
32     tag: Any = ...
33
34 class TagBytes(JSONTag):
35     key: str = ...
36     def check(self, value: Any): ...
37     def to_json(self, value: Any): ...
38     def to_python(self, value: Any): ...
39
40 class TagMarkup(JSONTag):
41     key: str = ...
42     def check(self, value: Any): ...
43     def to_json(self, value: Any): ...
44     def to_python(self, value: Any): ...
45
46 class TagUUID(JSONTag):
47     key: str = ...
48     def check(self, value: Any): ...
49     def to_json(self, value: Any): ...
50     def to_python(self, value: Any): ...
51
52 class TagDateTime(JSONTag):
53     key: str = ...
54     def check(self, value: Any): ...
55     def to_json(self, value: Any): ...
56     def to_python(self, value: Any): ...
57
58 class TaggedJSONSerializer:
59     default_tags: Any = ...
60     tags: Any = ...
61     order: Any = ...
62     def __init__(self) -> None: ...
63     def register(self, tag_class: Any, force: bool = ..., index: Any | None = ...) -> None: ...
64     def tag(self, value: Any): ...
65     def untag(self, value: Any): ...
66     def dumps(self, value: Any): ...
67     def loads(self, value: Any): ...