Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/__init__.pyi +1 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/any_pb2.pyi +47 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/api_pb2.pyi +114 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/compiler/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/compiler/plugin_pb2.pyi +136 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/descriptor.pyi +330 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/descriptor_pb2.pyi +734 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/descriptor_pool.pyi +18 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/duration_pb2.pyi +46 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/empty_pb2.pyi +22 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/field_mask_pb2.pyi +50 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/containers.pyi +90 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/decoder.pyi +30 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/encoder.pyi +34 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/enum_type_wrapper.pyi +18 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/extension_dict.pyi +36 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/message_listener.pyi +5 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/python_message.pyi +1 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/well_known_types.pyi +94 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/wire_format.pyi +50 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/json_format.pyi +26 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/message.pyi +56 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/message_factory.pyi +14 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/reflection.pyi +6 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/service.pyi +39 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/source_context_pb2.pyi +41 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/struct_pb2.pyi +126 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/symbol_database.pyi +16 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/timestamp_pb2.pyi +46 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/type_pb2.pyi +237 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/util/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/wrappers_pb2.pyi +129 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/smarty.pyi +39 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/toc.pyi +44 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/__init__.pyi +2 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/base.pyi +158 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/table.pyi +108 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/util.pyi +3 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/contrib/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/packages/__init__.pyi +0 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyi +4 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.pyi +3 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/__init__.pyi +20 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/connection.pyi +8 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/request.pyi +11 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/response.pyi +1 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/retry.pyi +43 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/ssl_.pyi +30 -0
- temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/timeout.pyi +21 -0
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/__init__.pyi
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
__version__: bytes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/any_pb2.pyi
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
8 |
+
)
|
9 |
+
|
10 |
+
from google.protobuf.internal.well_known_types import (
|
11 |
+
Any as google___protobuf___internal___well_known_types___Any,
|
12 |
+
)
|
13 |
+
|
14 |
+
from google.protobuf.message import (
|
15 |
+
Message as google___protobuf___message___Message,
|
16 |
+
)
|
17 |
+
|
18 |
+
from typing import (
|
19 |
+
Optional as typing___Optional,
|
20 |
+
Text as typing___Text,
|
21 |
+
)
|
22 |
+
|
23 |
+
from typing_extensions import (
|
24 |
+
Literal as typing_extensions___Literal,
|
25 |
+
)
|
26 |
+
|
27 |
+
|
28 |
+
builtin___bool = bool
|
29 |
+
builtin___bytes = bytes
|
30 |
+
builtin___float = float
|
31 |
+
builtin___int = int
|
32 |
+
|
33 |
+
|
34 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
35 |
+
|
36 |
+
class Any(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Any):
|
37 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
38 |
+
type_url: typing___Text = ...
|
39 |
+
value: builtin___bytes = ...
|
40 |
+
|
41 |
+
def __init__(self,
|
42 |
+
*,
|
43 |
+
type_url : typing___Optional[typing___Text] = None,
|
44 |
+
value : typing___Optional[builtin___bytes] = None,
|
45 |
+
) -> None: ...
|
46 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"type_url",b"type_url",u"value",b"value"]) -> None: ...
|
47 |
+
type___Any = Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/api_pb2.pyi
ADDED
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
8 |
+
)
|
9 |
+
|
10 |
+
from google.protobuf.internal.containers import (
|
11 |
+
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
|
12 |
+
)
|
13 |
+
|
14 |
+
from google.protobuf.message import (
|
15 |
+
Message as google___protobuf___message___Message,
|
16 |
+
)
|
17 |
+
|
18 |
+
from google.protobuf.source_context_pb2 import (
|
19 |
+
SourceContext as google___protobuf___source_context_pb2___SourceContext,
|
20 |
+
)
|
21 |
+
|
22 |
+
from google.protobuf.type_pb2 import (
|
23 |
+
Option as google___protobuf___type_pb2___Option,
|
24 |
+
SyntaxValue as google___protobuf___type_pb2___SyntaxValue,
|
25 |
+
)
|
26 |
+
|
27 |
+
from typing import (
|
28 |
+
Iterable as typing___Iterable,
|
29 |
+
Optional as typing___Optional,
|
30 |
+
Text as typing___Text,
|
31 |
+
)
|
32 |
+
|
33 |
+
from typing_extensions import (
|
34 |
+
Literal as typing_extensions___Literal,
|
35 |
+
)
|
36 |
+
|
37 |
+
|
38 |
+
builtin___bool = bool
|
39 |
+
builtin___bytes = bytes
|
40 |
+
builtin___float = float
|
41 |
+
builtin___int = int
|
42 |
+
|
43 |
+
|
44 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
45 |
+
|
46 |
+
class Api(google___protobuf___message___Message):
|
47 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
48 |
+
name: typing___Text = ...
|
49 |
+
version: typing___Text = ...
|
50 |
+
syntax: google___protobuf___type_pb2___SyntaxValue = ...
|
51 |
+
|
52 |
+
@property
|
53 |
+
def methods(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Method]: ...
|
54 |
+
|
55 |
+
@property
|
56 |
+
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___type_pb2___Option]: ...
|
57 |
+
|
58 |
+
@property
|
59 |
+
def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ...
|
60 |
+
|
61 |
+
@property
|
62 |
+
def mixins(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Mixin]: ...
|
63 |
+
|
64 |
+
def __init__(self,
|
65 |
+
*,
|
66 |
+
name : typing___Optional[typing___Text] = None,
|
67 |
+
methods : typing___Optional[typing___Iterable[type___Method]] = None,
|
68 |
+
options : typing___Optional[typing___Iterable[google___protobuf___type_pb2___Option]] = None,
|
69 |
+
version : typing___Optional[typing___Text] = None,
|
70 |
+
source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = None,
|
71 |
+
mixins : typing___Optional[typing___Iterable[type___Mixin]] = None,
|
72 |
+
syntax : typing___Optional[google___protobuf___type_pb2___SyntaxValue] = None,
|
73 |
+
) -> None: ...
|
74 |
+
def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ...
|
75 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"methods",b"methods",u"mixins",b"mixins",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax",u"version",b"version"]) -> None: ...
|
76 |
+
type___Api = Api
|
77 |
+
|
78 |
+
class Method(google___protobuf___message___Message):
|
79 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
80 |
+
name: typing___Text = ...
|
81 |
+
request_type_url: typing___Text = ...
|
82 |
+
request_streaming: builtin___bool = ...
|
83 |
+
response_type_url: typing___Text = ...
|
84 |
+
response_streaming: builtin___bool = ...
|
85 |
+
syntax: google___protobuf___type_pb2___SyntaxValue = ...
|
86 |
+
|
87 |
+
@property
|
88 |
+
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___type_pb2___Option]: ...
|
89 |
+
|
90 |
+
def __init__(self,
|
91 |
+
*,
|
92 |
+
name : typing___Optional[typing___Text] = None,
|
93 |
+
request_type_url : typing___Optional[typing___Text] = None,
|
94 |
+
request_streaming : typing___Optional[builtin___bool] = None,
|
95 |
+
response_type_url : typing___Optional[typing___Text] = None,
|
96 |
+
response_streaming : typing___Optional[builtin___bool] = None,
|
97 |
+
options : typing___Optional[typing___Iterable[google___protobuf___type_pb2___Option]] = None,
|
98 |
+
syntax : typing___Optional[google___protobuf___type_pb2___SyntaxValue] = None,
|
99 |
+
) -> None: ...
|
100 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options",u"request_streaming",b"request_streaming",u"request_type_url",b"request_type_url",u"response_streaming",b"response_streaming",u"response_type_url",b"response_type_url",u"syntax",b"syntax"]) -> None: ...
|
101 |
+
type___Method = Method
|
102 |
+
|
103 |
+
class Mixin(google___protobuf___message___Message):
|
104 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
105 |
+
name: typing___Text = ...
|
106 |
+
root: typing___Text = ...
|
107 |
+
|
108 |
+
def __init__(self,
|
109 |
+
*,
|
110 |
+
name : typing___Optional[typing___Text] = None,
|
111 |
+
root : typing___Optional[typing___Text] = None,
|
112 |
+
) -> None: ...
|
113 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"root",b"root"]) -> None: ...
|
114 |
+
type___Mixin = Mixin
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/compiler/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/compiler/plugin_pb2.pyi
ADDED
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
|
8 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
9 |
+
)
|
10 |
+
|
11 |
+
from google.protobuf.descriptor_pb2 import (
|
12 |
+
FileDescriptorProto as google___protobuf___descriptor_pb2___FileDescriptorProto,
|
13 |
+
GeneratedCodeInfo as google___protobuf___descriptor_pb2___GeneratedCodeInfo,
|
14 |
+
)
|
15 |
+
|
16 |
+
from google.protobuf.internal.containers import (
|
17 |
+
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
|
18 |
+
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
|
19 |
+
)
|
20 |
+
|
21 |
+
from google.protobuf.internal.enum_type_wrapper import (
|
22 |
+
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
|
23 |
+
)
|
24 |
+
|
25 |
+
from google.protobuf.message import (
|
26 |
+
Message as google___protobuf___message___Message,
|
27 |
+
)
|
28 |
+
|
29 |
+
from typing import (
|
30 |
+
Iterable as typing___Iterable,
|
31 |
+
NewType as typing___NewType,
|
32 |
+
Optional as typing___Optional,
|
33 |
+
Text as typing___Text,
|
34 |
+
cast as typing___cast,
|
35 |
+
)
|
36 |
+
|
37 |
+
from typing_extensions import (
|
38 |
+
Literal as typing_extensions___Literal,
|
39 |
+
)
|
40 |
+
|
41 |
+
|
42 |
+
builtin___bool = bool
|
43 |
+
builtin___bytes = bytes
|
44 |
+
builtin___float = float
|
45 |
+
builtin___int = int
|
46 |
+
|
47 |
+
|
48 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
49 |
+
|
50 |
+
class Version(google___protobuf___message___Message):
|
51 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
52 |
+
major: builtin___int = ...
|
53 |
+
minor: builtin___int = ...
|
54 |
+
patch: builtin___int = ...
|
55 |
+
suffix: typing___Text = ...
|
56 |
+
|
57 |
+
def __init__(self,
|
58 |
+
*,
|
59 |
+
major : typing___Optional[builtin___int] = None,
|
60 |
+
minor : typing___Optional[builtin___int] = None,
|
61 |
+
patch : typing___Optional[builtin___int] = None,
|
62 |
+
suffix : typing___Optional[typing___Text] = None,
|
63 |
+
) -> None: ...
|
64 |
+
def HasField(self, field_name: typing_extensions___Literal[u"major",b"major",u"minor",b"minor",u"patch",b"patch",u"suffix",b"suffix"]) -> builtin___bool: ...
|
65 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"major",b"major",u"minor",b"minor",u"patch",b"patch",u"suffix",b"suffix"]) -> None: ...
|
66 |
+
type___Version = Version
|
67 |
+
|
68 |
+
class CodeGeneratorRequest(google___protobuf___message___Message):
|
69 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
70 |
+
file_to_generate: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
|
71 |
+
parameter: typing___Text = ...
|
72 |
+
|
73 |
+
@property
|
74 |
+
def proto_file(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[google___protobuf___descriptor_pb2___FileDescriptorProto]: ...
|
75 |
+
|
76 |
+
@property
|
77 |
+
def compiler_version(self) -> type___Version: ...
|
78 |
+
|
79 |
+
def __init__(self,
|
80 |
+
*,
|
81 |
+
file_to_generate : typing___Optional[typing___Iterable[typing___Text]] = None,
|
82 |
+
parameter : typing___Optional[typing___Text] = None,
|
83 |
+
proto_file : typing___Optional[typing___Iterable[google___protobuf___descriptor_pb2___FileDescriptorProto]] = None,
|
84 |
+
compiler_version : typing___Optional[type___Version] = None,
|
85 |
+
) -> None: ...
|
86 |
+
def HasField(self, field_name: typing_extensions___Literal[u"compiler_version",b"compiler_version",u"parameter",b"parameter"]) -> builtin___bool: ...
|
87 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"compiler_version",b"compiler_version",u"file_to_generate",b"file_to_generate",u"parameter",b"parameter",u"proto_file",b"proto_file"]) -> None: ...
|
88 |
+
type___CodeGeneratorRequest = CodeGeneratorRequest
|
89 |
+
|
90 |
+
class CodeGeneratorResponse(google___protobuf___message___Message):
|
91 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
92 |
+
FeatureValue = typing___NewType('FeatureValue', builtin___int)
|
93 |
+
type___FeatureValue = FeatureValue
|
94 |
+
Feature: _Feature
|
95 |
+
class _Feature(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[CodeGeneratorResponse.FeatureValue]):
|
96 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
97 |
+
FEATURE_NONE = typing___cast(CodeGeneratorResponse.FeatureValue, 0)
|
98 |
+
FEATURE_PROTO3_OPTIONAL = typing___cast(CodeGeneratorResponse.FeatureValue, 1)
|
99 |
+
FEATURE_NONE = typing___cast(CodeGeneratorResponse.FeatureValue, 0)
|
100 |
+
FEATURE_PROTO3_OPTIONAL = typing___cast(CodeGeneratorResponse.FeatureValue, 1)
|
101 |
+
|
102 |
+
class File(google___protobuf___message___Message):
|
103 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
104 |
+
name: typing___Text = ...
|
105 |
+
insertion_point: typing___Text = ...
|
106 |
+
content: typing___Text = ...
|
107 |
+
|
108 |
+
@property
|
109 |
+
def generated_code_info(self) -> google___protobuf___descriptor_pb2___GeneratedCodeInfo: ...
|
110 |
+
|
111 |
+
def __init__(self,
|
112 |
+
*,
|
113 |
+
name : typing___Optional[typing___Text] = None,
|
114 |
+
insertion_point : typing___Optional[typing___Text] = None,
|
115 |
+
content : typing___Optional[typing___Text] = None,
|
116 |
+
generated_code_info : typing___Optional[google___protobuf___descriptor_pb2___GeneratedCodeInfo] = None,
|
117 |
+
) -> None: ...
|
118 |
+
def HasField(self, field_name: typing_extensions___Literal[u"content",b"content",u"generated_code_info",b"generated_code_info",u"insertion_point",b"insertion_point",u"name",b"name"]) -> builtin___bool: ...
|
119 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"content",b"content",u"generated_code_info",b"generated_code_info",u"insertion_point",b"insertion_point",u"name",b"name"]) -> None: ...
|
120 |
+
type___File = File
|
121 |
+
|
122 |
+
error: typing___Text = ...
|
123 |
+
supported_features: builtin___int = ...
|
124 |
+
|
125 |
+
@property
|
126 |
+
def file(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CodeGeneratorResponse.File]: ...
|
127 |
+
|
128 |
+
def __init__(self,
|
129 |
+
*,
|
130 |
+
error : typing___Optional[typing___Text] = None,
|
131 |
+
supported_features : typing___Optional[builtin___int] = None,
|
132 |
+
file : typing___Optional[typing___Iterable[type___CodeGeneratorResponse.File]] = None,
|
133 |
+
) -> None: ...
|
134 |
+
def HasField(self, field_name: typing_extensions___Literal[u"error",b"error",u"supported_features",b"supported_features"]) -> builtin___bool: ...
|
135 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"error",b"error",u"file",b"file",u"supported_features",b"supported_features"]) -> None: ...
|
136 |
+
type___CodeGeneratorResponse = CodeGeneratorResponse
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/descriptor.pyi
ADDED
@@ -0,0 +1,330 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
from .descriptor_pb2 import (
|
4 |
+
EnumOptions,
|
5 |
+
EnumValueOptions,
|
6 |
+
FieldOptions,
|
7 |
+
FileOptions,
|
8 |
+
MessageOptions,
|
9 |
+
MethodOptions,
|
10 |
+
OneofOptions,
|
11 |
+
ServiceOptions,
|
12 |
+
)
|
13 |
+
from .message import Message
|
14 |
+
|
15 |
+
class Error(Exception): ...
|
16 |
+
class TypeTransformationError(Error): ...
|
17 |
+
|
18 |
+
class DescriptorMetaclass(type):
|
19 |
+
def __instancecheck__(self, obj): ...
|
20 |
+
|
21 |
+
class DescriptorBase(metaclass=DescriptorMetaclass):
|
22 |
+
has_options: Any
|
23 |
+
def __init__(self, options, serialized_options, options_class_name) -> None: ...
|
24 |
+
def GetOptions(self): ...
|
25 |
+
|
26 |
+
class _NestedDescriptorBase(DescriptorBase):
|
27 |
+
name: Any
|
28 |
+
full_name: Any
|
29 |
+
file: Any
|
30 |
+
containing_type: Any
|
31 |
+
def __init__(
|
32 |
+
self,
|
33 |
+
options,
|
34 |
+
options_class_name,
|
35 |
+
name,
|
36 |
+
full_name,
|
37 |
+
file,
|
38 |
+
containing_type,
|
39 |
+
serialized_start=...,
|
40 |
+
serialized_end=...,
|
41 |
+
serialized_options=...,
|
42 |
+
) -> None: ...
|
43 |
+
def GetTopLevelContainingType(self): ...
|
44 |
+
def CopyToProto(self, proto): ...
|
45 |
+
|
46 |
+
class Descriptor(_NestedDescriptorBase):
|
47 |
+
def __new__(
|
48 |
+
cls,
|
49 |
+
name,
|
50 |
+
full_name,
|
51 |
+
filename,
|
52 |
+
containing_type,
|
53 |
+
fields,
|
54 |
+
nested_types,
|
55 |
+
enum_types,
|
56 |
+
extensions,
|
57 |
+
options=...,
|
58 |
+
serialized_options=...,
|
59 |
+
is_extendable=...,
|
60 |
+
extension_ranges=...,
|
61 |
+
oneofs=...,
|
62 |
+
file=...,
|
63 |
+
serialized_start=...,
|
64 |
+
serialized_end=...,
|
65 |
+
syntax=...,
|
66 |
+
): ...
|
67 |
+
fields: Any
|
68 |
+
fields_by_number: Any
|
69 |
+
fields_by_name: Any
|
70 |
+
nested_types: Any
|
71 |
+
nested_types_by_name: Any
|
72 |
+
enum_types: Any
|
73 |
+
enum_types_by_name: Any
|
74 |
+
enum_values_by_name: Any
|
75 |
+
extensions: Any
|
76 |
+
extensions_by_name: Any
|
77 |
+
is_extendable: Any
|
78 |
+
extension_ranges: Any
|
79 |
+
oneofs: Any
|
80 |
+
oneofs_by_name: Any
|
81 |
+
syntax: Any
|
82 |
+
def __init__(
|
83 |
+
self,
|
84 |
+
name,
|
85 |
+
full_name,
|
86 |
+
filename,
|
87 |
+
containing_type,
|
88 |
+
fields,
|
89 |
+
nested_types,
|
90 |
+
enum_types,
|
91 |
+
extensions,
|
92 |
+
options=...,
|
93 |
+
serialized_options=...,
|
94 |
+
is_extendable=...,
|
95 |
+
extension_ranges=...,
|
96 |
+
oneofs=...,
|
97 |
+
file=...,
|
98 |
+
serialized_start=...,
|
99 |
+
serialized_end=...,
|
100 |
+
syntax=...,
|
101 |
+
) -> None: ...
|
102 |
+
def EnumValueName(self, enum, value): ...
|
103 |
+
def CopyToProto(self, proto): ...
|
104 |
+
def GetOptions(self) -> MessageOptions: ...
|
105 |
+
|
106 |
+
class FieldDescriptor(DescriptorBase):
|
107 |
+
TYPE_DOUBLE: Any
|
108 |
+
TYPE_FLOAT: Any
|
109 |
+
TYPE_INT64: Any
|
110 |
+
TYPE_UINT64: Any
|
111 |
+
TYPE_INT32: Any
|
112 |
+
TYPE_FIXED64: Any
|
113 |
+
TYPE_FIXED32: Any
|
114 |
+
TYPE_BOOL: Any
|
115 |
+
TYPE_STRING: Any
|
116 |
+
TYPE_GROUP: Any
|
117 |
+
TYPE_MESSAGE: Any
|
118 |
+
TYPE_BYTES: Any
|
119 |
+
TYPE_UINT32: Any
|
120 |
+
TYPE_ENUM: Any
|
121 |
+
TYPE_SFIXED32: Any
|
122 |
+
TYPE_SFIXED64: Any
|
123 |
+
TYPE_SINT32: Any
|
124 |
+
TYPE_SINT64: Any
|
125 |
+
MAX_TYPE: Any
|
126 |
+
CPPTYPE_INT32: Any
|
127 |
+
CPPTYPE_INT64: Any
|
128 |
+
CPPTYPE_UINT32: Any
|
129 |
+
CPPTYPE_UINT64: Any
|
130 |
+
CPPTYPE_DOUBLE: Any
|
131 |
+
CPPTYPE_FLOAT: Any
|
132 |
+
CPPTYPE_BOOL: Any
|
133 |
+
CPPTYPE_ENUM: Any
|
134 |
+
CPPTYPE_STRING: Any
|
135 |
+
CPPTYPE_MESSAGE: Any
|
136 |
+
MAX_CPPTYPE: Any
|
137 |
+
LABEL_OPTIONAL: Any
|
138 |
+
LABEL_REQUIRED: Any
|
139 |
+
LABEL_REPEATED: Any
|
140 |
+
MAX_LABEL: Any
|
141 |
+
MAX_FIELD_NUMBER: Any
|
142 |
+
FIRST_RESERVED_FIELD_NUMBER: Any
|
143 |
+
LAST_RESERVED_FIELD_NUMBER: Any
|
144 |
+
def __new__(
|
145 |
+
cls,
|
146 |
+
name,
|
147 |
+
full_name,
|
148 |
+
index,
|
149 |
+
number,
|
150 |
+
type,
|
151 |
+
cpp_type,
|
152 |
+
label,
|
153 |
+
default_value,
|
154 |
+
message_type,
|
155 |
+
enum_type,
|
156 |
+
containing_type,
|
157 |
+
is_extension,
|
158 |
+
extension_scope,
|
159 |
+
options=...,
|
160 |
+
serialized_options=...,
|
161 |
+
file=...,
|
162 |
+
has_default_value=...,
|
163 |
+
containing_oneof=...,
|
164 |
+
): ...
|
165 |
+
name: Any
|
166 |
+
full_name: Any
|
167 |
+
index: Any
|
168 |
+
number: Any
|
169 |
+
type: Any
|
170 |
+
cpp_type: Any
|
171 |
+
label: Any
|
172 |
+
has_default_value: Any
|
173 |
+
default_value: Any
|
174 |
+
containing_type: Any
|
175 |
+
message_type: Any
|
176 |
+
enum_type: Any
|
177 |
+
is_extension: Any
|
178 |
+
extension_scope: Any
|
179 |
+
containing_oneof: Any
|
180 |
+
def __init__(
|
181 |
+
self,
|
182 |
+
name,
|
183 |
+
full_name,
|
184 |
+
index,
|
185 |
+
number,
|
186 |
+
type,
|
187 |
+
cpp_type,
|
188 |
+
label,
|
189 |
+
default_value,
|
190 |
+
message_type,
|
191 |
+
enum_type,
|
192 |
+
containing_type,
|
193 |
+
is_extension,
|
194 |
+
extension_scope,
|
195 |
+
options=...,
|
196 |
+
serialized_options=...,
|
197 |
+
file=...,
|
198 |
+
has_default_value=...,
|
199 |
+
containing_oneof=...,
|
200 |
+
) -> None: ...
|
201 |
+
@staticmethod
|
202 |
+
def ProtoTypeToCppProtoType(proto_type): ...
|
203 |
+
def GetOptions(self) -> FieldOptions: ...
|
204 |
+
|
205 |
+
class EnumDescriptor(_NestedDescriptorBase):
|
206 |
+
def __new__(
|
207 |
+
cls,
|
208 |
+
name,
|
209 |
+
full_name,
|
210 |
+
filename,
|
211 |
+
values,
|
212 |
+
containing_type=...,
|
213 |
+
options=...,
|
214 |
+
serialized_options=...,
|
215 |
+
file=...,
|
216 |
+
serialized_start=...,
|
217 |
+
serialized_end=...,
|
218 |
+
): ...
|
219 |
+
values: Any
|
220 |
+
values_by_name: Any
|
221 |
+
values_by_number: Any
|
222 |
+
def __init__(
|
223 |
+
self,
|
224 |
+
name,
|
225 |
+
full_name,
|
226 |
+
filename,
|
227 |
+
values,
|
228 |
+
containing_type=...,
|
229 |
+
options=...,
|
230 |
+
serialized_options=...,
|
231 |
+
file=...,
|
232 |
+
serialized_start=...,
|
233 |
+
serialized_end=...,
|
234 |
+
) -> None: ...
|
235 |
+
def CopyToProto(self, proto): ...
|
236 |
+
def GetOptions(self) -> EnumOptions: ...
|
237 |
+
|
238 |
+
class EnumValueDescriptor(DescriptorBase):
|
239 |
+
def __new__(cls, name, index, number, type=..., options=..., serialized_options=...): ...
|
240 |
+
name: Any
|
241 |
+
index: Any
|
242 |
+
number: Any
|
243 |
+
type: Any
|
244 |
+
def __init__(self, name, index, number, type=..., options=..., serialized_options=...) -> None: ...
|
245 |
+
def GetOptions(self) -> EnumValueOptions: ...
|
246 |
+
|
247 |
+
class OneofDescriptor:
|
248 |
+
def __new__(cls, name, full_name, index, containing_type, fields): ...
|
249 |
+
name: Any
|
250 |
+
full_name: Any
|
251 |
+
index: Any
|
252 |
+
containing_type: Any
|
253 |
+
fields: Any
|
254 |
+
def __init__(self, name, full_name, index, containing_type, fields) -> None: ...
|
255 |
+
def GetOptions(self) -> OneofOptions: ...
|
256 |
+
|
257 |
+
class ServiceDescriptor(_NestedDescriptorBase):
|
258 |
+
index: Any
|
259 |
+
methods: Any
|
260 |
+
methods_by_name: Any
|
261 |
+
def __init__(
|
262 |
+
self,
|
263 |
+
name,
|
264 |
+
full_name,
|
265 |
+
index,
|
266 |
+
methods,
|
267 |
+
options=...,
|
268 |
+
serialized_options=...,
|
269 |
+
file=...,
|
270 |
+
serialized_start=...,
|
271 |
+
serialized_end=...,
|
272 |
+
) -> None: ...
|
273 |
+
def FindMethodByName(self, name): ...
|
274 |
+
def CopyToProto(self, proto): ...
|
275 |
+
def GetOptions(self) -> ServiceOptions: ...
|
276 |
+
|
277 |
+
class MethodDescriptor(DescriptorBase):
|
278 |
+
name: Any
|
279 |
+
full_name: Any
|
280 |
+
index: Any
|
281 |
+
containing_service: Any
|
282 |
+
input_type: Any
|
283 |
+
output_type: Any
|
284 |
+
def __init__(
|
285 |
+
self, name, full_name, index, containing_service, input_type, output_type, options=..., serialized_options=...
|
286 |
+
) -> None: ...
|
287 |
+
def GetOptions(self) -> MethodOptions: ...
|
288 |
+
|
289 |
+
class FileDescriptor(DescriptorBase):
|
290 |
+
def __new__(
|
291 |
+
cls,
|
292 |
+
name,
|
293 |
+
package,
|
294 |
+
options=...,
|
295 |
+
serialized_options=...,
|
296 |
+
serialized_pb=...,
|
297 |
+
dependencies=...,
|
298 |
+
public_dependencies=...,
|
299 |
+
syntax=...,
|
300 |
+
pool=...,
|
301 |
+
): ...
|
302 |
+
_options: Any
|
303 |
+
pool: Any
|
304 |
+
message_types_by_name: Any
|
305 |
+
name: Any
|
306 |
+
package: Any
|
307 |
+
syntax: Any
|
308 |
+
serialized_pb: Any
|
309 |
+
enum_types_by_name: Any
|
310 |
+
extensions_by_name: Any
|
311 |
+
services_by_name: Any
|
312 |
+
dependencies: Any
|
313 |
+
public_dependencies: Any
|
314 |
+
def __init__(
|
315 |
+
self,
|
316 |
+
name,
|
317 |
+
package,
|
318 |
+
options=...,
|
319 |
+
serialized_options=...,
|
320 |
+
serialized_pb=...,
|
321 |
+
dependencies=...,
|
322 |
+
public_dependencies=...,
|
323 |
+
syntax=...,
|
324 |
+
pool=...,
|
325 |
+
) -> None: ...
|
326 |
+
def CopyToProto(self, proto): ...
|
327 |
+
def GetOptions(self) -> FileOptions: ...
|
328 |
+
|
329 |
+
def MakeDescriptor(desc_proto, package=..., build_file_if_cpp=..., syntax=...): ...
|
330 |
+
def _ParseOptions(message: Message, string: bytes) -> Message: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/descriptor_pb2.pyi
ADDED
@@ -0,0 +1,734 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
|
8 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
9 |
+
)
|
10 |
+
|
11 |
+
from google.protobuf.internal.containers import (
|
12 |
+
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
|
13 |
+
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
|
14 |
+
)
|
15 |
+
|
16 |
+
from google.protobuf.internal.enum_type_wrapper import (
|
17 |
+
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
|
18 |
+
)
|
19 |
+
|
20 |
+
from google.protobuf.message import (
|
21 |
+
Message as google___protobuf___message___Message,
|
22 |
+
)
|
23 |
+
|
24 |
+
from typing import (
|
25 |
+
Iterable as typing___Iterable,
|
26 |
+
NewType as typing___NewType,
|
27 |
+
Optional as typing___Optional,
|
28 |
+
Text as typing___Text,
|
29 |
+
cast as typing___cast,
|
30 |
+
)
|
31 |
+
|
32 |
+
from typing_extensions import (
|
33 |
+
Literal as typing_extensions___Literal,
|
34 |
+
)
|
35 |
+
|
36 |
+
|
37 |
+
builtin___bool = bool
|
38 |
+
builtin___bytes = bytes
|
39 |
+
builtin___float = float
|
40 |
+
builtin___int = int
|
41 |
+
|
42 |
+
|
43 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
44 |
+
|
45 |
+
class FileDescriptorSet(google___protobuf___message___Message):
|
46 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
47 |
+
|
48 |
+
@property
|
49 |
+
def file(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___FileDescriptorProto]: ...
|
50 |
+
|
51 |
+
def __init__(self,
|
52 |
+
*,
|
53 |
+
file : typing___Optional[typing___Iterable[type___FileDescriptorProto]] = None,
|
54 |
+
) -> None: ...
|
55 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"file",b"file"]) -> None: ...
|
56 |
+
type___FileDescriptorSet = FileDescriptorSet
|
57 |
+
|
58 |
+
class FileDescriptorProto(google___protobuf___message___Message):
|
59 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
60 |
+
name: typing___Text = ...
|
61 |
+
package: typing___Text = ...
|
62 |
+
dependency: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
|
63 |
+
public_dependency: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
|
64 |
+
weak_dependency: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
|
65 |
+
syntax: typing___Text = ...
|
66 |
+
|
67 |
+
@property
|
68 |
+
def message_type(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___DescriptorProto]: ...
|
69 |
+
|
70 |
+
@property
|
71 |
+
def enum_type(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumDescriptorProto]: ...
|
72 |
+
|
73 |
+
@property
|
74 |
+
def service(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___ServiceDescriptorProto]: ...
|
75 |
+
|
76 |
+
@property
|
77 |
+
def extension(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___FieldDescriptorProto]: ...
|
78 |
+
|
79 |
+
@property
|
80 |
+
def options(self) -> type___FileOptions: ...
|
81 |
+
|
82 |
+
@property
|
83 |
+
def source_code_info(self) -> type___SourceCodeInfo: ...
|
84 |
+
|
85 |
+
def __init__(self,
|
86 |
+
*,
|
87 |
+
name : typing___Optional[typing___Text] = None,
|
88 |
+
package : typing___Optional[typing___Text] = None,
|
89 |
+
dependency : typing___Optional[typing___Iterable[typing___Text]] = None,
|
90 |
+
public_dependency : typing___Optional[typing___Iterable[builtin___int]] = None,
|
91 |
+
weak_dependency : typing___Optional[typing___Iterable[builtin___int]] = None,
|
92 |
+
message_type : typing___Optional[typing___Iterable[type___DescriptorProto]] = None,
|
93 |
+
enum_type : typing___Optional[typing___Iterable[type___EnumDescriptorProto]] = None,
|
94 |
+
service : typing___Optional[typing___Iterable[type___ServiceDescriptorProto]] = None,
|
95 |
+
extension : typing___Optional[typing___Iterable[type___FieldDescriptorProto]] = None,
|
96 |
+
options : typing___Optional[type___FileOptions] = None,
|
97 |
+
source_code_info : typing___Optional[type___SourceCodeInfo] = None,
|
98 |
+
syntax : typing___Optional[typing___Text] = None,
|
99 |
+
) -> None: ...
|
100 |
+
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options",u"package",b"package",u"source_code_info",b"source_code_info",u"syntax",b"syntax"]) -> builtin___bool: ...
|
101 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"dependency",b"dependency",u"enum_type",b"enum_type",u"extension",b"extension",u"message_type",b"message_type",u"name",b"name",u"options",b"options",u"package",b"package",u"public_dependency",b"public_dependency",u"service",b"service",u"source_code_info",b"source_code_info",u"syntax",b"syntax",u"weak_dependency",b"weak_dependency"]) -> None: ...
|
102 |
+
type___FileDescriptorProto = FileDescriptorProto
|
103 |
+
|
104 |
+
class DescriptorProto(google___protobuf___message___Message):
|
105 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
106 |
+
class ExtensionRange(google___protobuf___message___Message):
|
107 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
108 |
+
start: builtin___int = ...
|
109 |
+
end: builtin___int = ...
|
110 |
+
|
111 |
+
@property
|
112 |
+
def options(self) -> type___ExtensionRangeOptions: ...
|
113 |
+
|
114 |
+
def __init__(self,
|
115 |
+
*,
|
116 |
+
start : typing___Optional[builtin___int] = None,
|
117 |
+
end : typing___Optional[builtin___int] = None,
|
118 |
+
options : typing___Optional[type___ExtensionRangeOptions] = None,
|
119 |
+
) -> None: ...
|
120 |
+
def HasField(self, field_name: typing_extensions___Literal[u"end",b"end",u"options",b"options",u"start",b"start"]) -> builtin___bool: ...
|
121 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"end",b"end",u"options",b"options",u"start",b"start"]) -> None: ...
|
122 |
+
type___ExtensionRange = ExtensionRange
|
123 |
+
|
124 |
+
class ReservedRange(google___protobuf___message___Message):
|
125 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
126 |
+
start: builtin___int = ...
|
127 |
+
end: builtin___int = ...
|
128 |
+
|
129 |
+
def __init__(self,
|
130 |
+
*,
|
131 |
+
start : typing___Optional[builtin___int] = None,
|
132 |
+
end : typing___Optional[builtin___int] = None,
|
133 |
+
) -> None: ...
|
134 |
+
def HasField(self, field_name: typing_extensions___Literal[u"end",b"end",u"start",b"start"]) -> builtin___bool: ...
|
135 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"end",b"end",u"start",b"start"]) -> None: ...
|
136 |
+
type___ReservedRange = ReservedRange
|
137 |
+
|
138 |
+
name: typing___Text = ...
|
139 |
+
reserved_name: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
|
140 |
+
|
141 |
+
@property
|
142 |
+
def field(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___FieldDescriptorProto]: ...
|
143 |
+
|
144 |
+
@property
|
145 |
+
def extension(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___FieldDescriptorProto]: ...
|
146 |
+
|
147 |
+
@property
|
148 |
+
def nested_type(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___DescriptorProto]: ...
|
149 |
+
|
150 |
+
@property
|
151 |
+
def enum_type(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumDescriptorProto]: ...
|
152 |
+
|
153 |
+
@property
|
154 |
+
def extension_range(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___DescriptorProto.ExtensionRange]: ...
|
155 |
+
|
156 |
+
@property
|
157 |
+
def oneof_decl(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___OneofDescriptorProto]: ...
|
158 |
+
|
159 |
+
@property
|
160 |
+
def options(self) -> type___MessageOptions: ...
|
161 |
+
|
162 |
+
@property
|
163 |
+
def reserved_range(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___DescriptorProto.ReservedRange]: ...
|
164 |
+
|
165 |
+
def __init__(self,
|
166 |
+
*,
|
167 |
+
name : typing___Optional[typing___Text] = None,
|
168 |
+
field : typing___Optional[typing___Iterable[type___FieldDescriptorProto]] = None,
|
169 |
+
extension : typing___Optional[typing___Iterable[type___FieldDescriptorProto]] = None,
|
170 |
+
nested_type : typing___Optional[typing___Iterable[type___DescriptorProto]] = None,
|
171 |
+
enum_type : typing___Optional[typing___Iterable[type___EnumDescriptorProto]] = None,
|
172 |
+
extension_range : typing___Optional[typing___Iterable[type___DescriptorProto.ExtensionRange]] = None,
|
173 |
+
oneof_decl : typing___Optional[typing___Iterable[type___OneofDescriptorProto]] = None,
|
174 |
+
options : typing___Optional[type___MessageOptions] = None,
|
175 |
+
reserved_range : typing___Optional[typing___Iterable[type___DescriptorProto.ReservedRange]] = None,
|
176 |
+
reserved_name : typing___Optional[typing___Iterable[typing___Text]] = None,
|
177 |
+
) -> None: ...
|
178 |
+
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> builtin___bool: ...
|
179 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"enum_type",b"enum_type",u"extension",b"extension",u"extension_range",b"extension_range",u"field",b"field",u"name",b"name",u"nested_type",b"nested_type",u"oneof_decl",b"oneof_decl",u"options",b"options",u"reserved_name",b"reserved_name",u"reserved_range",b"reserved_range"]) -> None: ...
|
180 |
+
type___DescriptorProto = DescriptorProto
|
181 |
+
|
182 |
+
class ExtensionRangeOptions(google___protobuf___message___Message):
|
183 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
184 |
+
|
185 |
+
@property
|
186 |
+
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
|
187 |
+
|
188 |
+
def __init__(self,
|
189 |
+
*,
|
190 |
+
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
|
191 |
+
) -> None: ...
|
192 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
|
193 |
+
type___ExtensionRangeOptions = ExtensionRangeOptions
|
194 |
+
|
195 |
+
class FieldDescriptorProto(google___protobuf___message___Message):
|
196 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
197 |
+
TypeValue = typing___NewType('TypeValue', builtin___int)
|
198 |
+
type___TypeValue = TypeValue
|
199 |
+
Type: _Type
|
200 |
+
class _Type(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FieldDescriptorProto.TypeValue]):
|
201 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
202 |
+
TYPE_DOUBLE = typing___cast(FieldDescriptorProto.TypeValue, 1)
|
203 |
+
TYPE_FLOAT = typing___cast(FieldDescriptorProto.TypeValue, 2)
|
204 |
+
TYPE_INT64 = typing___cast(FieldDescriptorProto.TypeValue, 3)
|
205 |
+
TYPE_UINT64 = typing___cast(FieldDescriptorProto.TypeValue, 4)
|
206 |
+
TYPE_INT32 = typing___cast(FieldDescriptorProto.TypeValue, 5)
|
207 |
+
TYPE_FIXED64 = typing___cast(FieldDescriptorProto.TypeValue, 6)
|
208 |
+
TYPE_FIXED32 = typing___cast(FieldDescriptorProto.TypeValue, 7)
|
209 |
+
TYPE_BOOL = typing___cast(FieldDescriptorProto.TypeValue, 8)
|
210 |
+
TYPE_STRING = typing___cast(FieldDescriptorProto.TypeValue, 9)
|
211 |
+
TYPE_GROUP = typing___cast(FieldDescriptorProto.TypeValue, 10)
|
212 |
+
TYPE_MESSAGE = typing___cast(FieldDescriptorProto.TypeValue, 11)
|
213 |
+
TYPE_BYTES = typing___cast(FieldDescriptorProto.TypeValue, 12)
|
214 |
+
TYPE_UINT32 = typing___cast(FieldDescriptorProto.TypeValue, 13)
|
215 |
+
TYPE_ENUM = typing___cast(FieldDescriptorProto.TypeValue, 14)
|
216 |
+
TYPE_SFIXED32 = typing___cast(FieldDescriptorProto.TypeValue, 15)
|
217 |
+
TYPE_SFIXED64 = typing___cast(FieldDescriptorProto.TypeValue, 16)
|
218 |
+
TYPE_SINT32 = typing___cast(FieldDescriptorProto.TypeValue, 17)
|
219 |
+
TYPE_SINT64 = typing___cast(FieldDescriptorProto.TypeValue, 18)
|
220 |
+
TYPE_DOUBLE = typing___cast(FieldDescriptorProto.TypeValue, 1)
|
221 |
+
TYPE_FLOAT = typing___cast(FieldDescriptorProto.TypeValue, 2)
|
222 |
+
TYPE_INT64 = typing___cast(FieldDescriptorProto.TypeValue, 3)
|
223 |
+
TYPE_UINT64 = typing___cast(FieldDescriptorProto.TypeValue, 4)
|
224 |
+
TYPE_INT32 = typing___cast(FieldDescriptorProto.TypeValue, 5)
|
225 |
+
TYPE_FIXED64 = typing___cast(FieldDescriptorProto.TypeValue, 6)
|
226 |
+
TYPE_FIXED32 = typing___cast(FieldDescriptorProto.TypeValue, 7)
|
227 |
+
TYPE_BOOL = typing___cast(FieldDescriptorProto.TypeValue, 8)
|
228 |
+
TYPE_STRING = typing___cast(FieldDescriptorProto.TypeValue, 9)
|
229 |
+
TYPE_GROUP = typing___cast(FieldDescriptorProto.TypeValue, 10)
|
230 |
+
TYPE_MESSAGE = typing___cast(FieldDescriptorProto.TypeValue, 11)
|
231 |
+
TYPE_BYTES = typing___cast(FieldDescriptorProto.TypeValue, 12)
|
232 |
+
TYPE_UINT32 = typing___cast(FieldDescriptorProto.TypeValue, 13)
|
233 |
+
TYPE_ENUM = typing___cast(FieldDescriptorProto.TypeValue, 14)
|
234 |
+
TYPE_SFIXED32 = typing___cast(FieldDescriptorProto.TypeValue, 15)
|
235 |
+
TYPE_SFIXED64 = typing___cast(FieldDescriptorProto.TypeValue, 16)
|
236 |
+
TYPE_SINT32 = typing___cast(FieldDescriptorProto.TypeValue, 17)
|
237 |
+
TYPE_SINT64 = typing___cast(FieldDescriptorProto.TypeValue, 18)
|
238 |
+
|
239 |
+
LabelValue = typing___NewType('LabelValue', builtin___int)
|
240 |
+
type___LabelValue = LabelValue
|
241 |
+
Label: _Label
|
242 |
+
class _Label(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FieldDescriptorProto.LabelValue]):
|
243 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
244 |
+
LABEL_OPTIONAL = typing___cast(FieldDescriptorProto.LabelValue, 1)
|
245 |
+
LABEL_REQUIRED = typing___cast(FieldDescriptorProto.LabelValue, 2)
|
246 |
+
LABEL_REPEATED = typing___cast(FieldDescriptorProto.LabelValue, 3)
|
247 |
+
LABEL_OPTIONAL = typing___cast(FieldDescriptorProto.LabelValue, 1)
|
248 |
+
LABEL_REQUIRED = typing___cast(FieldDescriptorProto.LabelValue, 2)
|
249 |
+
LABEL_REPEATED = typing___cast(FieldDescriptorProto.LabelValue, 3)
|
250 |
+
|
251 |
+
name: typing___Text = ...
|
252 |
+
number: builtin___int = ...
|
253 |
+
label: type___FieldDescriptorProto.LabelValue = ...
|
254 |
+
type: type___FieldDescriptorProto.TypeValue = ...
|
255 |
+
type_name: typing___Text = ...
|
256 |
+
extendee: typing___Text = ...
|
257 |
+
default_value: typing___Text = ...
|
258 |
+
oneof_index: builtin___int = ...
|
259 |
+
json_name: typing___Text = ...
|
260 |
+
proto3_optional: builtin___bool = ...
|
261 |
+
|
262 |
+
@property
|
263 |
+
def options(self) -> type___FieldOptions: ...
|
264 |
+
|
265 |
+
def __init__(self,
|
266 |
+
*,
|
267 |
+
name : typing___Optional[typing___Text] = None,
|
268 |
+
number : typing___Optional[builtin___int] = None,
|
269 |
+
label : typing___Optional[type___FieldDescriptorProto.LabelValue] = None,
|
270 |
+
type : typing___Optional[type___FieldDescriptorProto.TypeValue] = None,
|
271 |
+
type_name : typing___Optional[typing___Text] = None,
|
272 |
+
extendee : typing___Optional[typing___Text] = None,
|
273 |
+
default_value : typing___Optional[typing___Text] = None,
|
274 |
+
oneof_index : typing___Optional[builtin___int] = None,
|
275 |
+
json_name : typing___Optional[typing___Text] = None,
|
276 |
+
options : typing___Optional[type___FieldOptions] = None,
|
277 |
+
proto3_optional : typing___Optional[builtin___bool] = None,
|
278 |
+
) -> None: ...
|
279 |
+
def HasField(self, field_name: typing_extensions___Literal[u"default_value",b"default_value",u"extendee",b"extendee",u"json_name",b"json_name",u"label",b"label",u"name",b"name",u"number",b"number",u"oneof_index",b"oneof_index",u"options",b"options",u"proto3_optional",b"proto3_optional",u"type",b"type",u"type_name",b"type_name"]) -> builtin___bool: ...
|
280 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"default_value",b"default_value",u"extendee",b"extendee",u"json_name",b"json_name",u"label",b"label",u"name",b"name",u"number",b"number",u"oneof_index",b"oneof_index",u"options",b"options",u"proto3_optional",b"proto3_optional",u"type",b"type",u"type_name",b"type_name"]) -> None: ...
|
281 |
+
type___FieldDescriptorProto = FieldDescriptorProto
|
282 |
+
|
283 |
+
class OneofDescriptorProto(google___protobuf___message___Message):
|
284 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
285 |
+
name: typing___Text = ...
|
286 |
+
|
287 |
+
@property
|
288 |
+
def options(self) -> type___OneofOptions: ...
|
289 |
+
|
290 |
+
def __init__(self,
|
291 |
+
*,
|
292 |
+
name : typing___Optional[typing___Text] = None,
|
293 |
+
options : typing___Optional[type___OneofOptions] = None,
|
294 |
+
) -> None: ...
|
295 |
+
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> builtin___bool: ...
|
296 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> None: ...
|
297 |
+
type___OneofDescriptorProto = OneofDescriptorProto
|
298 |
+
|
299 |
+
class EnumDescriptorProto(google___protobuf___message___Message):
|
300 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
301 |
+
class EnumReservedRange(google___protobuf___message___Message):
|
302 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
303 |
+
start: builtin___int = ...
|
304 |
+
end: builtin___int = ...
|
305 |
+
|
306 |
+
def __init__(self,
|
307 |
+
*,
|
308 |
+
start : typing___Optional[builtin___int] = None,
|
309 |
+
end : typing___Optional[builtin___int] = None,
|
310 |
+
) -> None: ...
|
311 |
+
def HasField(self, field_name: typing_extensions___Literal[u"end",b"end",u"start",b"start"]) -> builtin___bool: ...
|
312 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"end",b"end",u"start",b"start"]) -> None: ...
|
313 |
+
type___EnumReservedRange = EnumReservedRange
|
314 |
+
|
315 |
+
name: typing___Text = ...
|
316 |
+
reserved_name: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
|
317 |
+
|
318 |
+
@property
|
319 |
+
def value(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumValueDescriptorProto]: ...
|
320 |
+
|
321 |
+
@property
|
322 |
+
def options(self) -> type___EnumOptions: ...
|
323 |
+
|
324 |
+
@property
|
325 |
+
def reserved_range(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumDescriptorProto.EnumReservedRange]: ...
|
326 |
+
|
327 |
+
def __init__(self,
|
328 |
+
*,
|
329 |
+
name : typing___Optional[typing___Text] = None,
|
330 |
+
value : typing___Optional[typing___Iterable[type___EnumValueDescriptorProto]] = None,
|
331 |
+
options : typing___Optional[type___EnumOptions] = None,
|
332 |
+
reserved_range : typing___Optional[typing___Iterable[type___EnumDescriptorProto.EnumReservedRange]] = None,
|
333 |
+
reserved_name : typing___Optional[typing___Iterable[typing___Text]] = None,
|
334 |
+
) -> None: ...
|
335 |
+
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> builtin___bool: ...
|
336 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options",u"reserved_name",b"reserved_name",u"reserved_range",b"reserved_range",u"value",b"value"]) -> None: ...
|
337 |
+
type___EnumDescriptorProto = EnumDescriptorProto
|
338 |
+
|
339 |
+
class EnumValueDescriptorProto(google___protobuf___message___Message):
|
340 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
341 |
+
name: typing___Text = ...
|
342 |
+
number: builtin___int = ...
|
343 |
+
|
344 |
+
@property
|
345 |
+
def options(self) -> type___EnumValueOptions: ...
|
346 |
+
|
347 |
+
def __init__(self,
|
348 |
+
*,
|
349 |
+
name : typing___Optional[typing___Text] = None,
|
350 |
+
number : typing___Optional[builtin___int] = None,
|
351 |
+
options : typing___Optional[type___EnumValueOptions] = None,
|
352 |
+
) -> None: ...
|
353 |
+
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"number",b"number",u"options",b"options"]) -> builtin___bool: ...
|
354 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"number",b"number",u"options",b"options"]) -> None: ...
|
355 |
+
type___EnumValueDescriptorProto = EnumValueDescriptorProto
|
356 |
+
|
357 |
+
class ServiceDescriptorProto(google___protobuf___message___Message):
|
358 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
359 |
+
name: typing___Text = ...
|
360 |
+
|
361 |
+
@property
|
362 |
+
def method(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___MethodDescriptorProto]: ...
|
363 |
+
|
364 |
+
@property
|
365 |
+
def options(self) -> type___ServiceOptions: ...
|
366 |
+
|
367 |
+
def __init__(self,
|
368 |
+
*,
|
369 |
+
name : typing___Optional[typing___Text] = None,
|
370 |
+
method : typing___Optional[typing___Iterable[type___MethodDescriptorProto]] = None,
|
371 |
+
options : typing___Optional[type___ServiceOptions] = None,
|
372 |
+
) -> None: ...
|
373 |
+
def HasField(self, field_name: typing_extensions___Literal[u"name",b"name",u"options",b"options"]) -> builtin___bool: ...
|
374 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"method",b"method",u"name",b"name",u"options",b"options"]) -> None: ...
|
375 |
+
type___ServiceDescriptorProto = ServiceDescriptorProto
|
376 |
+
|
377 |
+
class MethodDescriptorProto(google___protobuf___message___Message):
|
378 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
379 |
+
name: typing___Text = ...
|
380 |
+
input_type: typing___Text = ...
|
381 |
+
output_type: typing___Text = ...
|
382 |
+
client_streaming: builtin___bool = ...
|
383 |
+
server_streaming: builtin___bool = ...
|
384 |
+
|
385 |
+
@property
|
386 |
+
def options(self) -> type___MethodOptions: ...
|
387 |
+
|
388 |
+
def __init__(self,
|
389 |
+
*,
|
390 |
+
name : typing___Optional[typing___Text] = None,
|
391 |
+
input_type : typing___Optional[typing___Text] = None,
|
392 |
+
output_type : typing___Optional[typing___Text] = None,
|
393 |
+
options : typing___Optional[type___MethodOptions] = None,
|
394 |
+
client_streaming : typing___Optional[builtin___bool] = None,
|
395 |
+
server_streaming : typing___Optional[builtin___bool] = None,
|
396 |
+
) -> None: ...
|
397 |
+
def HasField(self, field_name: typing_extensions___Literal[u"client_streaming",b"client_streaming",u"input_type",b"input_type",u"name",b"name",u"options",b"options",u"output_type",b"output_type",u"server_streaming",b"server_streaming"]) -> builtin___bool: ...
|
398 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"client_streaming",b"client_streaming",u"input_type",b"input_type",u"name",b"name",u"options",b"options",u"output_type",b"output_type",u"server_streaming",b"server_streaming"]) -> None: ...
|
399 |
+
type___MethodDescriptorProto = MethodDescriptorProto
|
400 |
+
|
401 |
+
class FileOptions(google___protobuf___message___Message):
|
402 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
403 |
+
OptimizeModeValue = typing___NewType('OptimizeModeValue', builtin___int)
|
404 |
+
type___OptimizeModeValue = OptimizeModeValue
|
405 |
+
OptimizeMode: _OptimizeMode
|
406 |
+
class _OptimizeMode(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FileOptions.OptimizeModeValue]):
|
407 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
408 |
+
SPEED = typing___cast(FileOptions.OptimizeModeValue, 1)
|
409 |
+
CODE_SIZE = typing___cast(FileOptions.OptimizeModeValue, 2)
|
410 |
+
LITE_RUNTIME = typing___cast(FileOptions.OptimizeModeValue, 3)
|
411 |
+
SPEED = typing___cast(FileOptions.OptimizeModeValue, 1)
|
412 |
+
CODE_SIZE = typing___cast(FileOptions.OptimizeModeValue, 2)
|
413 |
+
LITE_RUNTIME = typing___cast(FileOptions.OptimizeModeValue, 3)
|
414 |
+
|
415 |
+
java_package: typing___Text = ...
|
416 |
+
java_outer_classname: typing___Text = ...
|
417 |
+
java_multiple_files: builtin___bool = ...
|
418 |
+
java_generate_equals_and_hash: builtin___bool = ...
|
419 |
+
java_string_check_utf8: builtin___bool = ...
|
420 |
+
optimize_for: type___FileOptions.OptimizeModeValue = ...
|
421 |
+
go_package: typing___Text = ...
|
422 |
+
cc_generic_services: builtin___bool = ...
|
423 |
+
java_generic_services: builtin___bool = ...
|
424 |
+
py_generic_services: builtin___bool = ...
|
425 |
+
php_generic_services: builtin___bool = ...
|
426 |
+
deprecated: builtin___bool = ...
|
427 |
+
cc_enable_arenas: builtin___bool = ...
|
428 |
+
objc_class_prefix: typing___Text = ...
|
429 |
+
csharp_namespace: typing___Text = ...
|
430 |
+
swift_prefix: typing___Text = ...
|
431 |
+
php_class_prefix: typing___Text = ...
|
432 |
+
php_namespace: typing___Text = ...
|
433 |
+
php_metadata_namespace: typing___Text = ...
|
434 |
+
ruby_package: typing___Text = ...
|
435 |
+
|
436 |
+
@property
|
437 |
+
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
|
438 |
+
|
439 |
+
def __init__(self,
|
440 |
+
*,
|
441 |
+
java_package : typing___Optional[typing___Text] = None,
|
442 |
+
java_outer_classname : typing___Optional[typing___Text] = None,
|
443 |
+
java_multiple_files : typing___Optional[builtin___bool] = None,
|
444 |
+
java_generate_equals_and_hash : typing___Optional[builtin___bool] = None,
|
445 |
+
java_string_check_utf8 : typing___Optional[builtin___bool] = None,
|
446 |
+
optimize_for : typing___Optional[type___FileOptions.OptimizeModeValue] = None,
|
447 |
+
go_package : typing___Optional[typing___Text] = None,
|
448 |
+
cc_generic_services : typing___Optional[builtin___bool] = None,
|
449 |
+
java_generic_services : typing___Optional[builtin___bool] = None,
|
450 |
+
py_generic_services : typing___Optional[builtin___bool] = None,
|
451 |
+
php_generic_services : typing___Optional[builtin___bool] = None,
|
452 |
+
deprecated : typing___Optional[builtin___bool] = None,
|
453 |
+
cc_enable_arenas : typing___Optional[builtin___bool] = None,
|
454 |
+
objc_class_prefix : typing___Optional[typing___Text] = None,
|
455 |
+
csharp_namespace : typing___Optional[typing___Text] = None,
|
456 |
+
swift_prefix : typing___Optional[typing___Text] = None,
|
457 |
+
php_class_prefix : typing___Optional[typing___Text] = None,
|
458 |
+
php_namespace : typing___Optional[typing___Text] = None,
|
459 |
+
php_metadata_namespace : typing___Optional[typing___Text] = None,
|
460 |
+
ruby_package : typing___Optional[typing___Text] = None,
|
461 |
+
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
|
462 |
+
) -> None: ...
|
463 |
+
def HasField(self, field_name: typing_extensions___Literal[u"cc_enable_arenas",b"cc_enable_arenas",u"cc_generic_services",b"cc_generic_services",u"csharp_namespace",b"csharp_namespace",u"deprecated",b"deprecated",u"go_package",b"go_package",u"java_generate_equals_and_hash",b"java_generate_equals_and_hash",u"java_generic_services",b"java_generic_services",u"java_multiple_files",b"java_multiple_files",u"java_outer_classname",b"java_outer_classname",u"java_package",b"java_package",u"java_string_check_utf8",b"java_string_check_utf8",u"objc_class_prefix",b"objc_class_prefix",u"optimize_for",b"optimize_for",u"php_class_prefix",b"php_class_prefix",u"php_generic_services",b"php_generic_services",u"php_metadata_namespace",b"php_metadata_namespace",u"php_namespace",b"php_namespace",u"py_generic_services",b"py_generic_services",u"ruby_package",b"ruby_package",u"swift_prefix",b"swift_prefix"]) -> builtin___bool: ...
|
464 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"cc_enable_arenas",b"cc_enable_arenas",u"cc_generic_services",b"cc_generic_services",u"csharp_namespace",b"csharp_namespace",u"deprecated",b"deprecated",u"go_package",b"go_package",u"java_generate_equals_and_hash",b"java_generate_equals_and_hash",u"java_generic_services",b"java_generic_services",u"java_multiple_files",b"java_multiple_files",u"java_outer_classname",b"java_outer_classname",u"java_package",b"java_package",u"java_string_check_utf8",b"java_string_check_utf8",u"objc_class_prefix",b"objc_class_prefix",u"optimize_for",b"optimize_for",u"php_class_prefix",b"php_class_prefix",u"php_generic_services",b"php_generic_services",u"php_metadata_namespace",b"php_metadata_namespace",u"php_namespace",b"php_namespace",u"py_generic_services",b"py_generic_services",u"ruby_package",b"ruby_package",u"swift_prefix",b"swift_prefix",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
|
465 |
+
type___FileOptions = FileOptions
|
466 |
+
|
467 |
+
class MessageOptions(google___protobuf___message___Message):
|
468 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
469 |
+
message_set_wire_format: builtin___bool = ...
|
470 |
+
no_standard_descriptor_accessor: builtin___bool = ...
|
471 |
+
deprecated: builtin___bool = ...
|
472 |
+
map_entry: builtin___bool = ...
|
473 |
+
|
474 |
+
@property
|
475 |
+
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
|
476 |
+
|
477 |
+
def __init__(self,
|
478 |
+
*,
|
479 |
+
message_set_wire_format : typing___Optional[builtin___bool] = None,
|
480 |
+
no_standard_descriptor_accessor : typing___Optional[builtin___bool] = None,
|
481 |
+
deprecated : typing___Optional[builtin___bool] = None,
|
482 |
+
map_entry : typing___Optional[builtin___bool] = None,
|
483 |
+
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
|
484 |
+
) -> None: ...
|
485 |
+
def HasField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"map_entry",b"map_entry",u"message_set_wire_format",b"message_set_wire_format",u"no_standard_descriptor_accessor",b"no_standard_descriptor_accessor"]) -> builtin___bool: ...
|
486 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"map_entry",b"map_entry",u"message_set_wire_format",b"message_set_wire_format",u"no_standard_descriptor_accessor",b"no_standard_descriptor_accessor",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
|
487 |
+
type___MessageOptions = MessageOptions
|
488 |
+
|
489 |
+
class FieldOptions(google___protobuf___message___Message):
|
490 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
491 |
+
CTypeValue = typing___NewType('CTypeValue', builtin___int)
|
492 |
+
type___CTypeValue = CTypeValue
|
493 |
+
CType: _CType
|
494 |
+
class _CType(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FieldOptions.CTypeValue]):
|
495 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
496 |
+
STRING = typing___cast(FieldOptions.CTypeValue, 0)
|
497 |
+
CORD = typing___cast(FieldOptions.CTypeValue, 1)
|
498 |
+
STRING_PIECE = typing___cast(FieldOptions.CTypeValue, 2)
|
499 |
+
STRING = typing___cast(FieldOptions.CTypeValue, 0)
|
500 |
+
CORD = typing___cast(FieldOptions.CTypeValue, 1)
|
501 |
+
STRING_PIECE = typing___cast(FieldOptions.CTypeValue, 2)
|
502 |
+
|
503 |
+
JSTypeValue = typing___NewType('JSTypeValue', builtin___int)
|
504 |
+
type___JSTypeValue = JSTypeValue
|
505 |
+
JSType: _JSType
|
506 |
+
class _JSType(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[FieldOptions.JSTypeValue]):
|
507 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
508 |
+
JS_NORMAL = typing___cast(FieldOptions.JSTypeValue, 0)
|
509 |
+
JS_STRING = typing___cast(FieldOptions.JSTypeValue, 1)
|
510 |
+
JS_NUMBER = typing___cast(FieldOptions.JSTypeValue, 2)
|
511 |
+
JS_NORMAL = typing___cast(FieldOptions.JSTypeValue, 0)
|
512 |
+
JS_STRING = typing___cast(FieldOptions.JSTypeValue, 1)
|
513 |
+
JS_NUMBER = typing___cast(FieldOptions.JSTypeValue, 2)
|
514 |
+
|
515 |
+
ctype: type___FieldOptions.CTypeValue = ...
|
516 |
+
packed: builtin___bool = ...
|
517 |
+
jstype: type___FieldOptions.JSTypeValue = ...
|
518 |
+
lazy: builtin___bool = ...
|
519 |
+
deprecated: builtin___bool = ...
|
520 |
+
weak: builtin___bool = ...
|
521 |
+
|
522 |
+
@property
|
523 |
+
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
|
524 |
+
|
525 |
+
def __init__(self,
|
526 |
+
*,
|
527 |
+
ctype : typing___Optional[type___FieldOptions.CTypeValue] = None,
|
528 |
+
packed : typing___Optional[builtin___bool] = None,
|
529 |
+
jstype : typing___Optional[type___FieldOptions.JSTypeValue] = None,
|
530 |
+
lazy : typing___Optional[builtin___bool] = None,
|
531 |
+
deprecated : typing___Optional[builtin___bool] = None,
|
532 |
+
weak : typing___Optional[builtin___bool] = None,
|
533 |
+
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
|
534 |
+
) -> None: ...
|
535 |
+
def HasField(self, field_name: typing_extensions___Literal[u"ctype",b"ctype",u"deprecated",b"deprecated",u"jstype",b"jstype",u"lazy",b"lazy",u"packed",b"packed",u"weak",b"weak"]) -> builtin___bool: ...
|
536 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"ctype",b"ctype",u"deprecated",b"deprecated",u"jstype",b"jstype",u"lazy",b"lazy",u"packed",b"packed",u"uninterpreted_option",b"uninterpreted_option",u"weak",b"weak"]) -> None: ...
|
537 |
+
type___FieldOptions = FieldOptions
|
538 |
+
|
539 |
+
class OneofOptions(google___protobuf___message___Message):
|
540 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
541 |
+
|
542 |
+
@property
|
543 |
+
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
|
544 |
+
|
545 |
+
def __init__(self,
|
546 |
+
*,
|
547 |
+
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
|
548 |
+
) -> None: ...
|
549 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
|
550 |
+
type___OneofOptions = OneofOptions
|
551 |
+
|
552 |
+
class EnumOptions(google___protobuf___message___Message):
|
553 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
554 |
+
allow_alias: builtin___bool = ...
|
555 |
+
deprecated: builtin___bool = ...
|
556 |
+
|
557 |
+
@property
|
558 |
+
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
|
559 |
+
|
560 |
+
def __init__(self,
|
561 |
+
*,
|
562 |
+
allow_alias : typing___Optional[builtin___bool] = None,
|
563 |
+
deprecated : typing___Optional[builtin___bool] = None,
|
564 |
+
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
|
565 |
+
) -> None: ...
|
566 |
+
def HasField(self, field_name: typing_extensions___Literal[u"allow_alias",b"allow_alias",u"deprecated",b"deprecated"]) -> builtin___bool: ...
|
567 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"allow_alias",b"allow_alias",u"deprecated",b"deprecated",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
|
568 |
+
type___EnumOptions = EnumOptions
|
569 |
+
|
570 |
+
class EnumValueOptions(google___protobuf___message___Message):
|
571 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
572 |
+
deprecated: builtin___bool = ...
|
573 |
+
|
574 |
+
@property
|
575 |
+
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
|
576 |
+
|
577 |
+
def __init__(self,
|
578 |
+
*,
|
579 |
+
deprecated : typing___Optional[builtin___bool] = None,
|
580 |
+
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
|
581 |
+
) -> None: ...
|
582 |
+
def HasField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated"]) -> builtin___bool: ...
|
583 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
|
584 |
+
type___EnumValueOptions = EnumValueOptions
|
585 |
+
|
586 |
+
class ServiceOptions(google___protobuf___message___Message):
|
587 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
588 |
+
deprecated: builtin___bool = ...
|
589 |
+
|
590 |
+
@property
|
591 |
+
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
|
592 |
+
|
593 |
+
def __init__(self,
|
594 |
+
*,
|
595 |
+
deprecated : typing___Optional[builtin___bool] = None,
|
596 |
+
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
|
597 |
+
) -> None: ...
|
598 |
+
def HasField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated"]) -> builtin___bool: ...
|
599 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
|
600 |
+
type___ServiceOptions = ServiceOptions
|
601 |
+
|
602 |
+
class MethodOptions(google___protobuf___message___Message):
|
603 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
604 |
+
IdempotencyLevelValue = typing___NewType('IdempotencyLevelValue', builtin___int)
|
605 |
+
type___IdempotencyLevelValue = IdempotencyLevelValue
|
606 |
+
IdempotencyLevel: _IdempotencyLevel
|
607 |
+
class _IdempotencyLevel(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[MethodOptions.IdempotencyLevelValue]):
|
608 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
609 |
+
IDEMPOTENCY_UNKNOWN = typing___cast(MethodOptions.IdempotencyLevelValue, 0)
|
610 |
+
NO_SIDE_EFFECTS = typing___cast(MethodOptions.IdempotencyLevelValue, 1)
|
611 |
+
IDEMPOTENT = typing___cast(MethodOptions.IdempotencyLevelValue, 2)
|
612 |
+
IDEMPOTENCY_UNKNOWN = typing___cast(MethodOptions.IdempotencyLevelValue, 0)
|
613 |
+
NO_SIDE_EFFECTS = typing___cast(MethodOptions.IdempotencyLevelValue, 1)
|
614 |
+
IDEMPOTENT = typing___cast(MethodOptions.IdempotencyLevelValue, 2)
|
615 |
+
|
616 |
+
deprecated: builtin___bool = ...
|
617 |
+
idempotency_level: type___MethodOptions.IdempotencyLevelValue = ...
|
618 |
+
|
619 |
+
@property
|
620 |
+
def uninterpreted_option(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption]: ...
|
621 |
+
|
622 |
+
def __init__(self,
|
623 |
+
*,
|
624 |
+
deprecated : typing___Optional[builtin___bool] = None,
|
625 |
+
idempotency_level : typing___Optional[type___MethodOptions.IdempotencyLevelValue] = None,
|
626 |
+
uninterpreted_option : typing___Optional[typing___Iterable[type___UninterpretedOption]] = None,
|
627 |
+
) -> None: ...
|
628 |
+
def HasField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"idempotency_level",b"idempotency_level"]) -> builtin___bool: ...
|
629 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"deprecated",b"deprecated",u"idempotency_level",b"idempotency_level",u"uninterpreted_option",b"uninterpreted_option"]) -> None: ...
|
630 |
+
type___MethodOptions = MethodOptions
|
631 |
+
|
632 |
+
class UninterpretedOption(google___protobuf___message___Message):
|
633 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
634 |
+
class NamePart(google___protobuf___message___Message):
|
635 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
636 |
+
name_part: typing___Text = ...
|
637 |
+
is_extension: builtin___bool = ...
|
638 |
+
|
639 |
+
def __init__(self,
|
640 |
+
*,
|
641 |
+
name_part : typing___Optional[typing___Text] = None,
|
642 |
+
is_extension : typing___Optional[builtin___bool] = None,
|
643 |
+
) -> None: ...
|
644 |
+
def HasField(self, field_name: typing_extensions___Literal[u"is_extension",b"is_extension",u"name_part",b"name_part"]) -> builtin___bool: ...
|
645 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"is_extension",b"is_extension",u"name_part",b"name_part"]) -> None: ...
|
646 |
+
type___NamePart = NamePart
|
647 |
+
|
648 |
+
identifier_value: typing___Text = ...
|
649 |
+
positive_int_value: builtin___int = ...
|
650 |
+
negative_int_value: builtin___int = ...
|
651 |
+
double_value: builtin___float = ...
|
652 |
+
string_value: builtin___bytes = ...
|
653 |
+
aggregate_value: typing___Text = ...
|
654 |
+
|
655 |
+
@property
|
656 |
+
def name(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___UninterpretedOption.NamePart]: ...
|
657 |
+
|
658 |
+
def __init__(self,
|
659 |
+
*,
|
660 |
+
name : typing___Optional[typing___Iterable[type___UninterpretedOption.NamePart]] = None,
|
661 |
+
identifier_value : typing___Optional[typing___Text] = None,
|
662 |
+
positive_int_value : typing___Optional[builtin___int] = None,
|
663 |
+
negative_int_value : typing___Optional[builtin___int] = None,
|
664 |
+
double_value : typing___Optional[builtin___float] = None,
|
665 |
+
string_value : typing___Optional[builtin___bytes] = None,
|
666 |
+
aggregate_value : typing___Optional[typing___Text] = None,
|
667 |
+
) -> None: ...
|
668 |
+
def HasField(self, field_name: typing_extensions___Literal[u"aggregate_value",b"aggregate_value",u"double_value",b"double_value",u"identifier_value",b"identifier_value",u"negative_int_value",b"negative_int_value",u"positive_int_value",b"positive_int_value",u"string_value",b"string_value"]) -> builtin___bool: ...
|
669 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"aggregate_value",b"aggregate_value",u"double_value",b"double_value",u"identifier_value",b"identifier_value",u"name",b"name",u"negative_int_value",b"negative_int_value",u"positive_int_value",b"positive_int_value",u"string_value",b"string_value"]) -> None: ...
|
670 |
+
type___UninterpretedOption = UninterpretedOption
|
671 |
+
|
672 |
+
class SourceCodeInfo(google___protobuf___message___Message):
|
673 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
674 |
+
class Location(google___protobuf___message___Message):
|
675 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
676 |
+
path: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
|
677 |
+
span: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
|
678 |
+
leading_comments: typing___Text = ...
|
679 |
+
trailing_comments: typing___Text = ...
|
680 |
+
leading_detached_comments: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
|
681 |
+
|
682 |
+
def __init__(self,
|
683 |
+
*,
|
684 |
+
path : typing___Optional[typing___Iterable[builtin___int]] = None,
|
685 |
+
span : typing___Optional[typing___Iterable[builtin___int]] = None,
|
686 |
+
leading_comments : typing___Optional[typing___Text] = None,
|
687 |
+
trailing_comments : typing___Optional[typing___Text] = None,
|
688 |
+
leading_detached_comments : typing___Optional[typing___Iterable[typing___Text]] = None,
|
689 |
+
) -> None: ...
|
690 |
+
def HasField(self, field_name: typing_extensions___Literal[u"leading_comments",b"leading_comments",u"trailing_comments",b"trailing_comments"]) -> builtin___bool: ...
|
691 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"leading_comments",b"leading_comments",u"leading_detached_comments",b"leading_detached_comments",u"path",b"path",u"span",b"span",u"trailing_comments",b"trailing_comments"]) -> None: ...
|
692 |
+
type___Location = Location
|
693 |
+
|
694 |
+
|
695 |
+
@property
|
696 |
+
def location(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___SourceCodeInfo.Location]: ...
|
697 |
+
|
698 |
+
def __init__(self,
|
699 |
+
*,
|
700 |
+
location : typing___Optional[typing___Iterable[type___SourceCodeInfo.Location]] = None,
|
701 |
+
) -> None: ...
|
702 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"location",b"location"]) -> None: ...
|
703 |
+
type___SourceCodeInfo = SourceCodeInfo
|
704 |
+
|
705 |
+
class GeneratedCodeInfo(google___protobuf___message___Message):
|
706 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
707 |
+
class Annotation(google___protobuf___message___Message):
|
708 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
709 |
+
path: google___protobuf___internal___containers___RepeatedScalarFieldContainer[builtin___int] = ...
|
710 |
+
source_file: typing___Text = ...
|
711 |
+
begin: builtin___int = ...
|
712 |
+
end: builtin___int = ...
|
713 |
+
|
714 |
+
def __init__(self,
|
715 |
+
*,
|
716 |
+
path : typing___Optional[typing___Iterable[builtin___int]] = None,
|
717 |
+
source_file : typing___Optional[typing___Text] = None,
|
718 |
+
begin : typing___Optional[builtin___int] = None,
|
719 |
+
end : typing___Optional[builtin___int] = None,
|
720 |
+
) -> None: ...
|
721 |
+
def HasField(self, field_name: typing_extensions___Literal[u"begin",b"begin",u"end",b"end",u"source_file",b"source_file"]) -> builtin___bool: ...
|
722 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"begin",b"begin",u"end",b"end",u"path",b"path",u"source_file",b"source_file"]) -> None: ...
|
723 |
+
type___Annotation = Annotation
|
724 |
+
|
725 |
+
|
726 |
+
@property
|
727 |
+
def annotation(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___GeneratedCodeInfo.Annotation]: ...
|
728 |
+
|
729 |
+
def __init__(self,
|
730 |
+
*,
|
731 |
+
annotation : typing___Optional[typing___Iterable[type___GeneratedCodeInfo.Annotation]] = None,
|
732 |
+
) -> None: ...
|
733 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"annotation",b"annotation"]) -> None: ...
|
734 |
+
type___GeneratedCodeInfo = GeneratedCodeInfo
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/descriptor_pool.pyi
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Optional
|
2 |
+
|
3 |
+
class DescriptorPool:
|
4 |
+
def __new__(cls, descriptor_db: Optional[Any] = ...): ...
|
5 |
+
def __init__(self, descriptor_db: Optional[Any] = ...) -> None: ...
|
6 |
+
def Add(self, file_desc_proto): ...
|
7 |
+
def AddSerializedFile(self, serialized_file_desc_proto): ...
|
8 |
+
def AddDescriptor(self, desc): ...
|
9 |
+
def AddEnumDescriptor(self, enum_desc): ...
|
10 |
+
def AddFileDescriptor(self, file_desc): ...
|
11 |
+
def FindFileByName(self, file_name): ...
|
12 |
+
def FindFileContainingSymbol(self, symbol): ...
|
13 |
+
def FindMessageTypeByName(self, full_name): ...
|
14 |
+
def FindEnumTypeByName(self, full_name): ...
|
15 |
+
def FindFieldByName(self, full_name): ...
|
16 |
+
def FindExtensionByName(self, full_name): ...
|
17 |
+
|
18 |
+
def Default(): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/duration_pb2.pyi
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
8 |
+
)
|
9 |
+
|
10 |
+
from google.protobuf.internal.well_known_types import (
|
11 |
+
Duration as google___protobuf___internal___well_known_types___Duration,
|
12 |
+
)
|
13 |
+
|
14 |
+
from google.protobuf.message import (
|
15 |
+
Message as google___protobuf___message___Message,
|
16 |
+
)
|
17 |
+
|
18 |
+
from typing import (
|
19 |
+
Optional as typing___Optional,
|
20 |
+
)
|
21 |
+
|
22 |
+
from typing_extensions import (
|
23 |
+
Literal as typing_extensions___Literal,
|
24 |
+
)
|
25 |
+
|
26 |
+
|
27 |
+
builtin___bool = bool
|
28 |
+
builtin___bytes = bytes
|
29 |
+
builtin___float = float
|
30 |
+
builtin___int = int
|
31 |
+
|
32 |
+
|
33 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
34 |
+
|
35 |
+
class Duration(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Duration):
|
36 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
37 |
+
seconds: builtin___int = ...
|
38 |
+
nanos: builtin___int = ...
|
39 |
+
|
40 |
+
def __init__(self,
|
41 |
+
*,
|
42 |
+
seconds : typing___Optional[builtin___int] = None,
|
43 |
+
nanos : typing___Optional[builtin___int] = None,
|
44 |
+
) -> None: ...
|
45 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"nanos",b"nanos",u"seconds",b"seconds"]) -> None: ...
|
46 |
+
type___Duration = Duration
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/empty_pb2.pyi
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
8 |
+
)
|
9 |
+
|
10 |
+
from google.protobuf.message import (
|
11 |
+
Message as google___protobuf___message___Message,
|
12 |
+
)
|
13 |
+
|
14 |
+
|
15 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
16 |
+
|
17 |
+
class Empty(google___protobuf___message___Message):
|
18 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
19 |
+
|
20 |
+
def __init__(self,
|
21 |
+
) -> None: ...
|
22 |
+
type___Empty = Empty
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/field_mask_pb2.pyi
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
8 |
+
)
|
9 |
+
|
10 |
+
from google.protobuf.internal.containers import (
|
11 |
+
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
|
12 |
+
)
|
13 |
+
|
14 |
+
from google.protobuf.internal.well_known_types import (
|
15 |
+
FieldMask as google___protobuf___internal___well_known_types___FieldMask,
|
16 |
+
)
|
17 |
+
|
18 |
+
from google.protobuf.message import (
|
19 |
+
Message as google___protobuf___message___Message,
|
20 |
+
)
|
21 |
+
|
22 |
+
from typing import (
|
23 |
+
Iterable as typing___Iterable,
|
24 |
+
Optional as typing___Optional,
|
25 |
+
Text as typing___Text,
|
26 |
+
)
|
27 |
+
|
28 |
+
from typing_extensions import (
|
29 |
+
Literal as typing_extensions___Literal,
|
30 |
+
)
|
31 |
+
|
32 |
+
|
33 |
+
builtin___bool = bool
|
34 |
+
builtin___bytes = bytes
|
35 |
+
builtin___float = float
|
36 |
+
builtin___int = int
|
37 |
+
|
38 |
+
|
39 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
40 |
+
|
41 |
+
class FieldMask(google___protobuf___message___Message, google___protobuf___internal___well_known_types___FieldMask):
|
42 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
43 |
+
paths: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
|
44 |
+
|
45 |
+
def __init__(self,
|
46 |
+
*,
|
47 |
+
paths : typing___Optional[typing___Iterable[typing___Text]] = None,
|
48 |
+
) -> None: ...
|
49 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"paths",b"paths"]) -> None: ...
|
50 |
+
type___FieldMask = FieldMask
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/containers.pyi
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import (
|
2 |
+
Any,
|
3 |
+
Callable,
|
4 |
+
Iterable,
|
5 |
+
Iterator,
|
6 |
+
List,
|
7 |
+
Mapping as Mapping,
|
8 |
+
MutableMapping as MutableMapping,
|
9 |
+
Optional,
|
10 |
+
Sequence,
|
11 |
+
TypeVar,
|
12 |
+
Union,
|
13 |
+
overload,
|
14 |
+
)
|
15 |
+
|
16 |
+
from google.protobuf.descriptor import Descriptor
|
17 |
+
from google.protobuf.internal.message_listener import MessageListener
|
18 |
+
from google.protobuf.internal.python_message import GeneratedProtocolMessageType
|
19 |
+
|
20 |
+
_T = TypeVar("_T")
|
21 |
+
_K = TypeVar("_K")
|
22 |
+
_V = TypeVar("_V")
|
23 |
+
_M = TypeVar("_M")
|
24 |
+
|
25 |
+
class BaseContainer(Sequence[_T]):
|
26 |
+
def __init__(self, message_listener: MessageListener) -> None: ...
|
27 |
+
def __len__(self) -> int: ...
|
28 |
+
def __ne__(self, other: object) -> bool: ...
|
29 |
+
def __hash__(self) -> int: ...
|
30 |
+
def __repr__(self) -> str: ...
|
31 |
+
def sort(self, *, key: Optional[Callable[[_T], Any]] = ..., reverse: bool = ...) -> None: ...
|
32 |
+
@overload
|
33 |
+
def __getitem__(self, key: int) -> _T: ...
|
34 |
+
@overload
|
35 |
+
def __getitem__(self, key: slice) -> List[_T]: ...
|
36 |
+
|
37 |
+
class RepeatedScalarFieldContainer(BaseContainer[_T]):
|
38 |
+
def __init__(self, message_listener: MessageListener, message_descriptor: Descriptor) -> None: ...
|
39 |
+
def append(self, value: _T) -> None: ...
|
40 |
+
def insert(self, key: int, value: _T) -> None: ...
|
41 |
+
def extend(self, elem_seq: Optional[Iterable[_T]]) -> None: ...
|
42 |
+
def MergeFrom(self: _M, other: _M) -> None: ...
|
43 |
+
def remove(self, elem: _T) -> None: ...
|
44 |
+
def pop(self, key: int = ...) -> _T: ...
|
45 |
+
@overload
|
46 |
+
def __setitem__(self, key: int, value: _T) -> None: ...
|
47 |
+
@overload
|
48 |
+
def __setitem__(self, key: slice, value: Iterable[_T]) -> None: ...
|
49 |
+
def __getslice__(self, start: int, stop: int) -> List[_T]: ...
|
50 |
+
def __setslice__(self, start: int, stop: int, values: Iterable[_T]) -> None: ...
|
51 |
+
def __delitem__(self, key: Union[int, slice]) -> None: ...
|
52 |
+
def __delslice__(self, start: int, stop: int) -> None: ...
|
53 |
+
def __eq__(self, other: object) -> bool: ...
|
54 |
+
|
55 |
+
class RepeatedCompositeFieldContainer(BaseContainer[_T]):
|
56 |
+
def __init__(self, message_listener: MessageListener, type_checker: Any) -> None: ...
|
57 |
+
def add(self, **kwargs: Any) -> _T: ...
|
58 |
+
def append(self, value: _T) -> None: ...
|
59 |
+
def insert(self, key: int, value: _T) -> None: ...
|
60 |
+
def extend(self, elem_seq: Iterable[_T]) -> None: ...
|
61 |
+
def MergeFrom(self: _M, other: _M) -> None: ...
|
62 |
+
def remove(self, elem: _T) -> None: ...
|
63 |
+
def pop(self, key: int = ...) -> _T: ...
|
64 |
+
def __getslice__(self, start: int, stop: int) -> List[_T]: ...
|
65 |
+
def __delitem__(self, key: Union[int, slice]) -> None: ...
|
66 |
+
def __delslice__(self, start: int, stop: int) -> None: ...
|
67 |
+
def __eq__(self, other: object) -> bool: ...
|
68 |
+
|
69 |
+
class ScalarMap(MutableMapping[_K, _V]):
|
70 |
+
def __setitem__(self, k: _K, v: _V) -> None: ...
|
71 |
+
def __delitem__(self, v: _K) -> None: ...
|
72 |
+
def __getitem__(self, k: _K) -> _V: ...
|
73 |
+
def __len__(self) -> int: ...
|
74 |
+
def __iter__(self) -> Iterator[_K]: ...
|
75 |
+
def __eq__(self, other: object) -> bool: ...
|
76 |
+
def MergeFrom(self: _M, other: _M): ...
|
77 |
+
def InvalidateIterators(self) -> None: ...
|
78 |
+
def GetEntryClass(self) -> GeneratedProtocolMessageType: ...
|
79 |
+
|
80 |
+
class MessageMap(MutableMapping[_K, _V]):
|
81 |
+
def __setitem__(self, k: _K, v: _V) -> None: ...
|
82 |
+
def __delitem__(self, v: _K) -> None: ...
|
83 |
+
def __getitem__(self, k: _K) -> _V: ...
|
84 |
+
def __len__(self) -> int: ...
|
85 |
+
def __iter__(self) -> Iterator[_K]: ...
|
86 |
+
def __eq__(self, other: object) -> bool: ...
|
87 |
+
def get_or_create(self, key: _K) -> _V: ...
|
88 |
+
def MergeFrom(self: _M, other: _M): ...
|
89 |
+
def InvalidateIterators(self) -> None: ...
|
90 |
+
def GetEntryClass(self) -> GeneratedProtocolMessageType: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/decoder.pyi
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
def ReadTag(buffer, pos): ...
|
4 |
+
def EnumDecoder(field_number, is_repeated, is_packed, key, new_default): ...
|
5 |
+
|
6 |
+
Int32Decoder: Any
|
7 |
+
Int64Decoder: Any
|
8 |
+
UInt32Decoder: Any
|
9 |
+
UInt64Decoder: Any
|
10 |
+
SInt32Decoder: Any
|
11 |
+
SInt64Decoder: Any
|
12 |
+
Fixed32Decoder: Any
|
13 |
+
Fixed64Decoder: Any
|
14 |
+
SFixed32Decoder: Any
|
15 |
+
SFixed64Decoder: Any
|
16 |
+
FloatDecoder: Any
|
17 |
+
DoubleDecoder: Any
|
18 |
+
BoolDecoder: Any
|
19 |
+
|
20 |
+
def StringDecoder(field_number, is_repeated, is_packed, key, new_default): ...
|
21 |
+
def BytesDecoder(field_number, is_repeated, is_packed, key, new_default): ...
|
22 |
+
def GroupDecoder(field_number, is_repeated, is_packed, key, new_default): ...
|
23 |
+
def MessageDecoder(field_number, is_repeated, is_packed, key, new_default): ...
|
24 |
+
|
25 |
+
MESSAGE_SET_ITEM_TAG: Any
|
26 |
+
|
27 |
+
def MessageSetItemDecoder(extensions_by_number): ...
|
28 |
+
def MapDecoder(field_descriptor, new_default, is_message_map): ...
|
29 |
+
|
30 |
+
SkipField: Any
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/encoder.pyi
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
Int32Sizer: Any
|
4 |
+
UInt32Sizer: Any
|
5 |
+
SInt32Sizer: Any
|
6 |
+
Fixed32Sizer: Any
|
7 |
+
Fixed64Sizer: Any
|
8 |
+
BoolSizer: Any
|
9 |
+
|
10 |
+
def StringSizer(field_number, is_repeated, is_packed): ...
|
11 |
+
def BytesSizer(field_number, is_repeated, is_packed): ...
|
12 |
+
def GroupSizer(field_number, is_repeated, is_packed): ...
|
13 |
+
def MessageSizer(field_number, is_repeated, is_packed): ...
|
14 |
+
def MessageSetItemSizer(field_number): ...
|
15 |
+
def MapSizer(field_descriptor): ...
|
16 |
+
def TagBytes(field_number, wire_type): ...
|
17 |
+
|
18 |
+
Int32Encoder: Any
|
19 |
+
UInt32Encoder: Any
|
20 |
+
SInt32Encoder: Any
|
21 |
+
Fixed32Encoder: Any
|
22 |
+
Fixed64Encoder: Any
|
23 |
+
SFixed32Encoder: Any
|
24 |
+
SFixed64Encoder: Any
|
25 |
+
FloatEncoder: Any
|
26 |
+
DoubleEncoder: Any
|
27 |
+
|
28 |
+
def BoolEncoder(field_number, is_repeated, is_packed): ...
|
29 |
+
def StringEncoder(field_number, is_repeated, is_packed): ...
|
30 |
+
def BytesEncoder(field_number, is_repeated, is_packed): ...
|
31 |
+
def GroupEncoder(field_number, is_repeated, is_packed): ...
|
32 |
+
def MessageEncoder(field_number, is_repeated, is_packed): ...
|
33 |
+
def MessageSetItemEncoder(field_number): ...
|
34 |
+
def MapEncoder(field_descriptor): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/enum_type_wrapper.pyi
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Generic, List, Tuple, TypeVar
|
2 |
+
|
3 |
+
from google.protobuf.descriptor import EnumDescriptor
|
4 |
+
|
5 |
+
_V = TypeVar("_V", bound=int)
|
6 |
+
|
7 |
+
# Expose a generic version so that those using mypy-protobuf
|
8 |
+
# can get autogenerated NewType wrapper around the int values
|
9 |
+
class _EnumTypeWrapper(Generic[_V]):
|
10 |
+
DESCRIPTOR: EnumDescriptor
|
11 |
+
def __init__(self, enum_type: EnumDescriptor) -> None: ...
|
12 |
+
def Name(self, number: _V) -> str: ...
|
13 |
+
def Value(self, name: str) -> _V: ...
|
14 |
+
def keys(self) -> List[str]: ...
|
15 |
+
def values(self) -> List[_V]: ...
|
16 |
+
def items(self) -> List[Tuple[str, _V]]: ...
|
17 |
+
|
18 |
+
class EnumTypeWrapper(_EnumTypeWrapper[int]): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/extension_dict.pyi
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Generic, Iterator, TypeVar, overload
|
2 |
+
|
3 |
+
from google.protobuf.descriptor import FieldDescriptor
|
4 |
+
from google.protobuf.message import Message
|
5 |
+
|
6 |
+
_ContainerMessageT = TypeVar("_ContainerMessageT", bound=Message)
|
7 |
+
_ExtenderMessageT = TypeVar("_ExtenderMessageT", bound=Message)
|
8 |
+
|
9 |
+
class _ExtensionFieldDescriptor(FieldDescriptor, Generic[_ContainerMessageT, _ExtenderMessageT]): ...
|
10 |
+
|
11 |
+
class _ExtensionDict(Generic[_ContainerMessageT]):
|
12 |
+
def __init__(self, extended_message: _ContainerMessageT) -> None: ...
|
13 |
+
# Dummy fallback overloads with FieldDescriptor are for backward compatibility with
|
14 |
+
# mypy-protobuf <= 1.23. We can drop them a few months after 1.24 releases.
|
15 |
+
@overload
|
16 |
+
def __getitem__(
|
17 |
+
self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT]
|
18 |
+
) -> _ExtenderMessageT: ...
|
19 |
+
@overload
|
20 |
+
def __getitem__(self, extension_handle: FieldDescriptor) -> Any: ...
|
21 |
+
@overload
|
22 |
+
def __setitem__(
|
23 |
+
self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT], value: _ExtenderMessageT
|
24 |
+
) -> None: ...
|
25 |
+
@overload
|
26 |
+
def __setitem__(self, extension_handle: FieldDescriptor, value: Any) -> None: ...
|
27 |
+
@overload
|
28 |
+
def __delitem__(self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT]) -> None: ...
|
29 |
+
@overload
|
30 |
+
def __delitem__(self, extension_handle: FieldDescriptor) -> None: ...
|
31 |
+
@overload
|
32 |
+
def __contains__(self, extension_handle: _ExtensionFieldDescriptor[_ContainerMessageT, _ExtenderMessageT]) -> bool: ...
|
33 |
+
@overload
|
34 |
+
def __contains__(self, extension_handle: FieldDescriptor) -> bool: ...
|
35 |
+
def __iter__(self) -> Iterator[_ExtensionFieldDescriptor[_ContainerMessageT, Any]]: ...
|
36 |
+
def __len__(self) -> int: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/message_listener.pyi
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class MessageListener(object):
|
2 |
+
def Modified(self) -> None: ...
|
3 |
+
|
4 |
+
class NullMessageListener(MessageListener):
|
5 |
+
def Modified(self) -> None: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/python_message.pyi
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
class GeneratedProtocolMessageType(type): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/well_known_types.pyi
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from datetime import datetime, timedelta
|
2 |
+
from typing import Any as tAny, Dict, Optional, Text, Type
|
3 |
+
|
4 |
+
class Error(Exception): ...
|
5 |
+
class ParseError(Error): ...
|
6 |
+
|
7 |
+
class Any:
|
8 |
+
type_url: tAny = ...
|
9 |
+
value: tAny = ...
|
10 |
+
def Pack(self, msg: tAny, type_url_prefix: bytes = ..., deterministic: Optional[tAny] = ...) -> None: ...
|
11 |
+
def Unpack(self, msg: tAny): ...
|
12 |
+
def TypeName(self): ...
|
13 |
+
def Is(self, descriptor: tAny): ...
|
14 |
+
|
15 |
+
class Timestamp:
|
16 |
+
def ToJsonString(self) -> str: ...
|
17 |
+
seconds: int = ...
|
18 |
+
nanos: int = ...
|
19 |
+
def FromJsonString(self, value: str) -> None: ...
|
20 |
+
def GetCurrentTime(self) -> None: ...
|
21 |
+
def ToNanoseconds(self) -> int: ...
|
22 |
+
def ToMicroseconds(self) -> int: ...
|
23 |
+
def ToMilliseconds(self) -> int: ...
|
24 |
+
def ToSeconds(self) -> int: ...
|
25 |
+
def FromNanoseconds(self, nanos: int) -> None: ...
|
26 |
+
def FromMicroseconds(self, micros: int) -> None: ...
|
27 |
+
def FromMilliseconds(self, millis: int) -> None: ...
|
28 |
+
def FromSeconds(self, seconds: int) -> None: ...
|
29 |
+
def ToDatetime(self) -> datetime: ...
|
30 |
+
def FromDatetime(self, dt: datetime) -> None: ...
|
31 |
+
|
32 |
+
class Duration:
|
33 |
+
def ToJsonString(self) -> str: ...
|
34 |
+
seconds: int = ...
|
35 |
+
nanos: int = ...
|
36 |
+
def FromJsonString(self, value: tAny) -> None: ...
|
37 |
+
def ToNanoseconds(self) -> int: ...
|
38 |
+
def ToMicroseconds(self) -> int: ...
|
39 |
+
def ToMilliseconds(self) -> int: ...
|
40 |
+
def ToSeconds(self) -> int: ...
|
41 |
+
def FromNanoseconds(self, nanos: int) -> None: ...
|
42 |
+
def FromMicroseconds(self, micros: int) -> None: ...
|
43 |
+
def FromMilliseconds(self, millis: int) -> None: ...
|
44 |
+
def FromSeconds(self, seconds: int) -> None: ...
|
45 |
+
def ToTimedelta(self) -> timedelta: ...
|
46 |
+
def FromTimedelta(self, td: timedelta) -> None: ...
|
47 |
+
|
48 |
+
class FieldMask:
|
49 |
+
def ToJsonString(self) -> str: ...
|
50 |
+
def FromJsonString(self, value: tAny) -> None: ...
|
51 |
+
def IsValidForDescriptor(self, message_descriptor: tAny): ...
|
52 |
+
def AllFieldsFromDescriptor(self, message_descriptor: tAny) -> None: ...
|
53 |
+
def CanonicalFormFromMask(self, mask: tAny) -> None: ...
|
54 |
+
def Union(self, mask1: tAny, mask2: tAny) -> None: ...
|
55 |
+
def Intersect(self, mask1: tAny, mask2: tAny) -> None: ...
|
56 |
+
def MergeMessage(
|
57 |
+
self, source: tAny, destination: tAny, replace_message_field: bool = ..., replace_repeated_field: bool = ...
|
58 |
+
) -> None: ...
|
59 |
+
|
60 |
+
class _FieldMaskTree:
|
61 |
+
def __init__(self, field_mask: Optional[tAny] = ...) -> None: ...
|
62 |
+
def MergeFromFieldMask(self, field_mask: tAny) -> None: ...
|
63 |
+
def AddPath(self, path: tAny): ...
|
64 |
+
def ToFieldMask(self, field_mask: tAny) -> None: ...
|
65 |
+
def IntersectPath(self, path: tAny, intersection: tAny): ...
|
66 |
+
def AddLeafNodes(self, prefix: tAny, node: tAny) -> None: ...
|
67 |
+
def MergeMessage(self, source: tAny, destination: tAny, replace_message: tAny, replace_repeated: tAny) -> None: ...
|
68 |
+
|
69 |
+
class Struct:
|
70 |
+
def __getitem__(self, key: tAny): ...
|
71 |
+
def __contains__(self, item: tAny): ...
|
72 |
+
def __setitem__(self, key: tAny, value: tAny) -> None: ...
|
73 |
+
def __delitem__(self, key: tAny) -> None: ...
|
74 |
+
def __len__(self): ...
|
75 |
+
def __iter__(self): ...
|
76 |
+
def keys(self): ...
|
77 |
+
def values(self): ...
|
78 |
+
def items(self): ...
|
79 |
+
def get_or_create_list(self, key: tAny): ...
|
80 |
+
def get_or_create_struct(self, key: tAny): ...
|
81 |
+
def update(self, dictionary: tAny) -> None: ...
|
82 |
+
|
83 |
+
class ListValue:
|
84 |
+
def __len__(self): ...
|
85 |
+
def append(self, value: tAny) -> None: ...
|
86 |
+
def extend(self, elem_seq: tAny) -> None: ...
|
87 |
+
def __getitem__(self, index: tAny): ...
|
88 |
+
def __setitem__(self, index: tAny, value: tAny) -> None: ...
|
89 |
+
def __delitem__(self, key: tAny) -> None: ...
|
90 |
+
def items(self) -> None: ...
|
91 |
+
def add_struct(self): ...
|
92 |
+
def add_list(self): ...
|
93 |
+
|
94 |
+
WKTBASES: Dict[Text, Type]
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/internal/wire_format.pyi
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
TAG_TYPE_BITS: Any
|
4 |
+
TAG_TYPE_MASK: Any
|
5 |
+
WIRETYPE_VARINT: Any
|
6 |
+
WIRETYPE_FIXED64: Any
|
7 |
+
WIRETYPE_LENGTH_DELIMITED: Any
|
8 |
+
WIRETYPE_START_GROUP: Any
|
9 |
+
WIRETYPE_END_GROUP: Any
|
10 |
+
WIRETYPE_FIXED32: Any
|
11 |
+
INT32_MAX: Any
|
12 |
+
INT32_MIN: Any
|
13 |
+
UINT32_MAX: Any
|
14 |
+
INT64_MAX: Any
|
15 |
+
INT64_MIN: Any
|
16 |
+
UINT64_MAX: Any
|
17 |
+
FORMAT_UINT32_LITTLE_ENDIAN: Any
|
18 |
+
FORMAT_UINT64_LITTLE_ENDIAN: Any
|
19 |
+
FORMAT_FLOAT_LITTLE_ENDIAN: Any
|
20 |
+
FORMAT_DOUBLE_LITTLE_ENDIAN: Any
|
21 |
+
|
22 |
+
def PackTag(field_number, wire_type): ...
|
23 |
+
def UnpackTag(tag): ...
|
24 |
+
def ZigZagEncode(value): ...
|
25 |
+
def ZigZagDecode(value): ...
|
26 |
+
def Int32ByteSize(field_number, int32): ...
|
27 |
+
def Int32ByteSizeNoTag(int32): ...
|
28 |
+
def Int64ByteSize(field_number, int64): ...
|
29 |
+
def UInt32ByteSize(field_number, uint32): ...
|
30 |
+
def UInt64ByteSize(field_number, uint64): ...
|
31 |
+
def SInt32ByteSize(field_number, int32): ...
|
32 |
+
def SInt64ByteSize(field_number, int64): ...
|
33 |
+
def Fixed32ByteSize(field_number, fixed32): ...
|
34 |
+
def Fixed64ByteSize(field_number, fixed64): ...
|
35 |
+
def SFixed32ByteSize(field_number, sfixed32): ...
|
36 |
+
def SFixed64ByteSize(field_number, sfixed64): ...
|
37 |
+
def FloatByteSize(field_number, flt): ...
|
38 |
+
def DoubleByteSize(field_number, double): ...
|
39 |
+
def BoolByteSize(field_number, b): ...
|
40 |
+
def EnumByteSize(field_number, enum): ...
|
41 |
+
def StringByteSize(field_number, string): ...
|
42 |
+
def BytesByteSize(field_number, b): ...
|
43 |
+
def GroupByteSize(field_number, message): ...
|
44 |
+
def MessageByteSize(field_number, message): ...
|
45 |
+
def MessageSetItemByteSize(field_number, msg): ...
|
46 |
+
def TagByteSize(field_number): ...
|
47 |
+
|
48 |
+
NON_PACKABLE_TYPES: Any
|
49 |
+
|
50 |
+
def IsTypePackable(field_type): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/json_format.pyi
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Dict, Text, TypeVar, Union
|
2 |
+
|
3 |
+
from google.protobuf.message import Message
|
4 |
+
|
5 |
+
_MessageVar = TypeVar("_MessageVar", bound=Message)
|
6 |
+
|
7 |
+
class Error(Exception): ...
|
8 |
+
class ParseError(Error): ...
|
9 |
+
class SerializeToJsonError(Error): ...
|
10 |
+
|
11 |
+
def MessageToJson(
|
12 |
+
message: Message,
|
13 |
+
including_default_value_fields: bool = ...,
|
14 |
+
preserving_proto_field_name: bool = ...,
|
15 |
+
indent: int = ...,
|
16 |
+
sort_keys: bool = ...,
|
17 |
+
use_integers_for_enums: bool = ...,
|
18 |
+
) -> str: ...
|
19 |
+
def MessageToDict(
|
20 |
+
message: Message,
|
21 |
+
including_default_value_fields: bool = ...,
|
22 |
+
preserving_proto_field_name: bool = ...,
|
23 |
+
use_integers_for_enums: bool = ...,
|
24 |
+
) -> Dict[Text, Any]: ...
|
25 |
+
def Parse(text: Union[bytes, Text], message: _MessageVar, ignore_unknown_fields: bool = ...) -> _MessageVar: ...
|
26 |
+
def ParseDict(js_dict: Any, message: _MessageVar, ignore_unknown_fields: bool = ...) -> _MessageVar: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/message.pyi
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import sys
|
2 |
+
from typing import Any, ByteString, Sequence, Tuple, Type, TypeVar, Union, overload
|
3 |
+
|
4 |
+
from .descriptor import Descriptor, FieldDescriptor
|
5 |
+
from .internal.extension_dict import _ExtensionDict, _ExtensionFieldDescriptor
|
6 |
+
|
7 |
+
class Error(Exception): ...
|
8 |
+
class DecodeError(Error): ...
|
9 |
+
class EncodeError(Error): ...
|
10 |
+
|
11 |
+
_M = TypeVar("_M", bound=Message) # message type (of self)
|
12 |
+
|
13 |
+
if sys.version_info < (3,):
|
14 |
+
_Serialized = Union[bytes, buffer, unicode]
|
15 |
+
else:
|
16 |
+
_Serialized = ByteString
|
17 |
+
|
18 |
+
class Message:
|
19 |
+
DESCRIPTOR: Descriptor
|
20 |
+
def __deepcopy__(self, memo=...): ...
|
21 |
+
def __eq__(self, other_msg): ...
|
22 |
+
def __ne__(self, other_msg): ...
|
23 |
+
def MergeFrom(self: _M, other_msg: _M) -> None: ...
|
24 |
+
def CopyFrom(self: _M, other_msg: _M) -> None: ...
|
25 |
+
def Clear(self) -> None: ...
|
26 |
+
def SetInParent(self) -> None: ...
|
27 |
+
def IsInitialized(self) -> bool: ...
|
28 |
+
def MergeFromString(self, serialized: _Serialized) -> int: ...
|
29 |
+
def ParseFromString(self, serialized: _Serialized) -> int: ...
|
30 |
+
def SerializeToString(self, deterministic: bool = ...) -> bytes: ...
|
31 |
+
def SerializePartialToString(self, deterministic: bool = ...) -> bytes: ...
|
32 |
+
def ListFields(self) -> Sequence[Tuple[FieldDescriptor, Any]]: ...
|
33 |
+
# Dummy fallback overloads with FieldDescriptor are for backward compatibility with
|
34 |
+
# mypy-protobuf <= 1.23. We can drop them a few months after 1.24 releases.
|
35 |
+
@overload
|
36 |
+
def HasExtension(self: _M, extension_handle: _ExtensionFieldDescriptor[_M, Any]) -> bool: ...
|
37 |
+
@overload
|
38 |
+
def HasExtension(self, extension_handle: FieldDescriptor) -> bool: ...
|
39 |
+
@overload
|
40 |
+
def ClearExtension(self: _M, extension_handle: _ExtensionFieldDescriptor[_M, Any]) -> None: ...
|
41 |
+
@overload
|
42 |
+
def ClearExtension(self, extension_handle: FieldDescriptor) -> None: ...
|
43 |
+
def ByteSize(self) -> int: ...
|
44 |
+
@classmethod
|
45 |
+
def FromString(cls: Type[_M], s: _Serialized) -> _M: ...
|
46 |
+
@property
|
47 |
+
def Extensions(self: _M) -> _ExtensionDict[_M]: ...
|
48 |
+
# Intentionally left out typing on these three methods, because they are
|
49 |
+
# stringly typed and it is not useful to call them on a Message directly.
|
50 |
+
# We prefer more specific typing on individual subclasses of Message
|
51 |
+
# See https://github.com/dropbox/mypy-protobuf/issues/62 for details
|
52 |
+
def HasField(self, field_name: Any) -> bool: ...
|
53 |
+
def ClearField(self, field_name: Any) -> None: ...
|
54 |
+
def WhichOneof(self, oneof_group: Any) -> Any: ...
|
55 |
+
# TODO: check kwargs
|
56 |
+
def __init__(self, **kwargs) -> None: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/message_factory.pyi
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Dict, Iterable, Optional, Type
|
2 |
+
|
3 |
+
from google.protobuf.descriptor import Descriptor
|
4 |
+
from google.protobuf.descriptor_pb2 import FileDescriptorProto
|
5 |
+
from google.protobuf.descriptor_pool import DescriptorPool
|
6 |
+
from google.protobuf.message import Message
|
7 |
+
|
8 |
+
class MessageFactory:
|
9 |
+
pool: Any
|
10 |
+
def __init__(self, pool: Optional[DescriptorPool] = ...) -> None: ...
|
11 |
+
def GetPrototype(self, descriptor: Descriptor) -> Type[Message]: ...
|
12 |
+
def GetMessages(self, files: Iterable[str]) -> Dict[str, Type[Message]]: ...
|
13 |
+
|
14 |
+
def GetMessages(file_protos: Iterable[FileDescriptorProto]) -> Dict[str, Type[Message]]: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/reflection.pyi
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
class GeneratedProtocolMessageType(type):
|
2 |
+
def __new__(cls, name, bases, dictionary): ...
|
3 |
+
def __init__(self, name, bases, dictionary) -> None: ...
|
4 |
+
|
5 |
+
def ParseMessage(descriptor, byte_str): ...
|
6 |
+
def MakeClass(descriptor): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/service.pyi
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from concurrent.futures import Future
|
2 |
+
from typing import Callable, Optional, Text, Type
|
3 |
+
|
4 |
+
from google.protobuf.descriptor import MethodDescriptor, ServiceDescriptor
|
5 |
+
from google.protobuf.message import Message
|
6 |
+
|
7 |
+
class RpcException(Exception): ...
|
8 |
+
|
9 |
+
class Service:
|
10 |
+
@staticmethod
|
11 |
+
def GetDescriptor() -> ServiceDescriptor: ...
|
12 |
+
def CallMethod(
|
13 |
+
self,
|
14 |
+
method_descriptor: MethodDescriptor,
|
15 |
+
rpc_controller: RpcController,
|
16 |
+
request: Message,
|
17 |
+
done: Optional[Callable[[Message], None]],
|
18 |
+
) -> Optional[Future[Message]]: ...
|
19 |
+
def GetRequestClass(self, method_descriptor: MethodDescriptor) -> Type[Message]: ...
|
20 |
+
def GetResponseClass(self, method_descriptor: MethodDescriptor) -> Type[Message]: ...
|
21 |
+
|
22 |
+
class RpcController:
|
23 |
+
def Reset(self) -> None: ...
|
24 |
+
def Failed(self) -> bool: ...
|
25 |
+
def ErrorText(self) -> Optional[Text]: ...
|
26 |
+
def StartCancel(self) -> None: ...
|
27 |
+
def SetFailed(self, reason: Text) -> None: ...
|
28 |
+
def IsCanceled(self) -> bool: ...
|
29 |
+
def NotifyOnCancel(self, callback: Callable[[], None]) -> None: ...
|
30 |
+
|
31 |
+
class RpcChannel:
|
32 |
+
def CallMethod(
|
33 |
+
self,
|
34 |
+
method_descriptor: MethodDescriptor,
|
35 |
+
rpc_controller: RpcController,
|
36 |
+
request: Message,
|
37 |
+
response_class: Type[Message],
|
38 |
+
done: Optional[Callable[[Message], None]],
|
39 |
+
) -> Optional[Future[Message]]: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/source_context_pb2.pyi
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
8 |
+
)
|
9 |
+
|
10 |
+
from google.protobuf.message import (
|
11 |
+
Message as google___protobuf___message___Message,
|
12 |
+
)
|
13 |
+
|
14 |
+
from typing import (
|
15 |
+
Optional as typing___Optional,
|
16 |
+
Text as typing___Text,
|
17 |
+
)
|
18 |
+
|
19 |
+
from typing_extensions import (
|
20 |
+
Literal as typing_extensions___Literal,
|
21 |
+
)
|
22 |
+
|
23 |
+
|
24 |
+
builtin___bool = bool
|
25 |
+
builtin___bytes = bytes
|
26 |
+
builtin___float = float
|
27 |
+
builtin___int = int
|
28 |
+
|
29 |
+
|
30 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
31 |
+
|
32 |
+
class SourceContext(google___protobuf___message___Message):
|
33 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
34 |
+
file_name: typing___Text = ...
|
35 |
+
|
36 |
+
def __init__(self,
|
37 |
+
*,
|
38 |
+
file_name : typing___Optional[typing___Text] = None,
|
39 |
+
) -> None: ...
|
40 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"file_name",b"file_name"]) -> None: ...
|
41 |
+
type___SourceContext = SourceContext
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/struct_pb2.pyi
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
|
8 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
9 |
+
)
|
10 |
+
|
11 |
+
from google.protobuf.internal.containers import (
|
12 |
+
MessageMap as google___protobuf___internal___containers___MessageMap,
|
13 |
+
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
|
14 |
+
)
|
15 |
+
|
16 |
+
from google.protobuf.internal.enum_type_wrapper import (
|
17 |
+
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
|
18 |
+
)
|
19 |
+
|
20 |
+
from google.protobuf.internal.well_known_types import (
|
21 |
+
ListValue as google___protobuf___internal___well_known_types___ListValue,
|
22 |
+
Struct as google___protobuf___internal___well_known_types___Struct,
|
23 |
+
)
|
24 |
+
|
25 |
+
from google.protobuf.message import (
|
26 |
+
Message as google___protobuf___message___Message,
|
27 |
+
)
|
28 |
+
|
29 |
+
from typing import (
|
30 |
+
Iterable as typing___Iterable,
|
31 |
+
Mapping as typing___Mapping,
|
32 |
+
NewType as typing___NewType,
|
33 |
+
Optional as typing___Optional,
|
34 |
+
Text as typing___Text,
|
35 |
+
cast as typing___cast,
|
36 |
+
)
|
37 |
+
|
38 |
+
from typing_extensions import (
|
39 |
+
Literal as typing_extensions___Literal,
|
40 |
+
)
|
41 |
+
|
42 |
+
|
43 |
+
builtin___bool = bool
|
44 |
+
builtin___bytes = bytes
|
45 |
+
builtin___float = float
|
46 |
+
builtin___int = int
|
47 |
+
|
48 |
+
|
49 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
50 |
+
|
51 |
+
NullValueValue = typing___NewType('NullValueValue', builtin___int)
|
52 |
+
type___NullValueValue = NullValueValue
|
53 |
+
NullValue: _NullValue
|
54 |
+
class _NullValue(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[NullValueValue]):
|
55 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
56 |
+
NULL_VALUE = typing___cast(NullValueValue, 0)
|
57 |
+
NULL_VALUE = typing___cast(NullValueValue, 0)
|
58 |
+
|
59 |
+
class Struct(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Struct):
|
60 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
61 |
+
class FieldsEntry(google___protobuf___message___Message):
|
62 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
63 |
+
key: typing___Text = ...
|
64 |
+
|
65 |
+
@property
|
66 |
+
def value(self) -> type___Value: ...
|
67 |
+
|
68 |
+
def __init__(self,
|
69 |
+
*,
|
70 |
+
key : typing___Optional[typing___Text] = None,
|
71 |
+
value : typing___Optional[type___Value] = None,
|
72 |
+
) -> None: ...
|
73 |
+
def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ...
|
74 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"key",b"key",u"value",b"value"]) -> None: ...
|
75 |
+
type___FieldsEntry = FieldsEntry
|
76 |
+
|
77 |
+
|
78 |
+
@property
|
79 |
+
def fields(self) -> google___protobuf___internal___containers___MessageMap[typing___Text, type___Value]: ...
|
80 |
+
|
81 |
+
def __init__(self,
|
82 |
+
*,
|
83 |
+
fields : typing___Optional[typing___Mapping[typing___Text, type___Value]] = None,
|
84 |
+
) -> None: ...
|
85 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"fields",b"fields"]) -> None: ...
|
86 |
+
type___Struct = Struct
|
87 |
+
|
88 |
+
class Value(google___protobuf___message___Message):
|
89 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
90 |
+
null_value: type___NullValueValue = ...
|
91 |
+
number_value: builtin___float = ...
|
92 |
+
string_value: typing___Text = ...
|
93 |
+
bool_value: builtin___bool = ...
|
94 |
+
|
95 |
+
@property
|
96 |
+
def struct_value(self) -> type___Struct: ...
|
97 |
+
|
98 |
+
@property
|
99 |
+
def list_value(self) -> type___ListValue: ...
|
100 |
+
|
101 |
+
def __init__(self,
|
102 |
+
*,
|
103 |
+
null_value : typing___Optional[type___NullValueValue] = None,
|
104 |
+
number_value : typing___Optional[builtin___float] = None,
|
105 |
+
string_value : typing___Optional[typing___Text] = None,
|
106 |
+
bool_value : typing___Optional[builtin___bool] = None,
|
107 |
+
struct_value : typing___Optional[type___Struct] = None,
|
108 |
+
list_value : typing___Optional[type___ListValue] = None,
|
109 |
+
) -> None: ...
|
110 |
+
def HasField(self, field_name: typing_extensions___Literal[u"bool_value",b"bool_value",u"kind",b"kind",u"list_value",b"list_value",u"null_value",b"null_value",u"number_value",b"number_value",u"string_value",b"string_value",u"struct_value",b"struct_value"]) -> builtin___bool: ...
|
111 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"bool_value",b"bool_value",u"kind",b"kind",u"list_value",b"list_value",u"null_value",b"null_value",u"number_value",b"number_value",u"string_value",b"string_value",u"struct_value",b"struct_value"]) -> None: ...
|
112 |
+
def WhichOneof(self, oneof_group: typing_extensions___Literal[u"kind",b"kind"]) -> typing_extensions___Literal["null_value","number_value","string_value","bool_value","struct_value","list_value"]: ...
|
113 |
+
type___Value = Value
|
114 |
+
|
115 |
+
class ListValue(google___protobuf___message___Message, google___protobuf___internal___well_known_types___ListValue):
|
116 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
117 |
+
|
118 |
+
@property
|
119 |
+
def values(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Value]: ...
|
120 |
+
|
121 |
+
def __init__(self,
|
122 |
+
*,
|
123 |
+
values : typing___Optional[typing___Iterable[type___Value]] = None,
|
124 |
+
) -> None: ...
|
125 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"values",b"values"]) -> None: ...
|
126 |
+
type___ListValue = ListValue
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/symbol_database.pyi
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Dict, Iterable, Type, Union
|
2 |
+
|
3 |
+
from google.protobuf.descriptor import Descriptor, EnumDescriptor, FileDescriptor, ServiceDescriptor
|
4 |
+
from google.protobuf.message import Message
|
5 |
+
from google.protobuf.message_factory import MessageFactory
|
6 |
+
|
7 |
+
class SymbolDatabase(MessageFactory):
|
8 |
+
def RegisterMessage(self, message: Union[Type[Message], Message]) -> Union[Type[Message], Message]: ...
|
9 |
+
def RegisterMessageDescriptor(self, message_descriptor: Descriptor) -> None: ...
|
10 |
+
def RegisterEnumDescriptor(self, enum_descriptor: EnumDescriptor) -> EnumDescriptor: ...
|
11 |
+
def RegisterServiceDescriptor(self, service_descriptor: ServiceDescriptor) -> None: ...
|
12 |
+
def RegisterFileDescriptor(self, file_descriptor: FileDescriptor) -> None: ...
|
13 |
+
def GetSymbol(self, symbol: str) -> Type[Message]: ...
|
14 |
+
def GetMessages(self, files: Iterable[str]) -> Dict[str, Type[Message]]: ...
|
15 |
+
|
16 |
+
def Default(): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/timestamp_pb2.pyi
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
8 |
+
)
|
9 |
+
|
10 |
+
from google.protobuf.internal.well_known_types import (
|
11 |
+
Timestamp as google___protobuf___internal___well_known_types___Timestamp,
|
12 |
+
)
|
13 |
+
|
14 |
+
from google.protobuf.message import (
|
15 |
+
Message as google___protobuf___message___Message,
|
16 |
+
)
|
17 |
+
|
18 |
+
from typing import (
|
19 |
+
Optional as typing___Optional,
|
20 |
+
)
|
21 |
+
|
22 |
+
from typing_extensions import (
|
23 |
+
Literal as typing_extensions___Literal,
|
24 |
+
)
|
25 |
+
|
26 |
+
|
27 |
+
builtin___bool = bool
|
28 |
+
builtin___bytes = bytes
|
29 |
+
builtin___float = float
|
30 |
+
builtin___int = int
|
31 |
+
|
32 |
+
|
33 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
34 |
+
|
35 |
+
class Timestamp(google___protobuf___message___Message, google___protobuf___internal___well_known_types___Timestamp):
|
36 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
37 |
+
seconds: builtin___int = ...
|
38 |
+
nanos: builtin___int = ...
|
39 |
+
|
40 |
+
def __init__(self,
|
41 |
+
*,
|
42 |
+
seconds : typing___Optional[builtin___int] = None,
|
43 |
+
nanos : typing___Optional[builtin___int] = None,
|
44 |
+
) -> None: ...
|
45 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"nanos",b"nanos",u"seconds",b"seconds"]) -> None: ...
|
46 |
+
type___Timestamp = Timestamp
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/type_pb2.pyi
ADDED
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.any_pb2 import (
|
6 |
+
Any as google___protobuf___any_pb2___Any,
|
7 |
+
)
|
8 |
+
|
9 |
+
from google.protobuf.descriptor import (
|
10 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
11 |
+
EnumDescriptor as google___protobuf___descriptor___EnumDescriptor,
|
12 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
13 |
+
)
|
14 |
+
|
15 |
+
from google.protobuf.internal.containers import (
|
16 |
+
RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer,
|
17 |
+
RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer,
|
18 |
+
)
|
19 |
+
|
20 |
+
from google.protobuf.internal.enum_type_wrapper import (
|
21 |
+
_EnumTypeWrapper as google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper,
|
22 |
+
)
|
23 |
+
|
24 |
+
from google.protobuf.message import (
|
25 |
+
Message as google___protobuf___message___Message,
|
26 |
+
)
|
27 |
+
|
28 |
+
from google.protobuf.source_context_pb2 import (
|
29 |
+
SourceContext as google___protobuf___source_context_pb2___SourceContext,
|
30 |
+
)
|
31 |
+
|
32 |
+
from typing import (
|
33 |
+
Iterable as typing___Iterable,
|
34 |
+
NewType as typing___NewType,
|
35 |
+
Optional as typing___Optional,
|
36 |
+
Text as typing___Text,
|
37 |
+
cast as typing___cast,
|
38 |
+
)
|
39 |
+
|
40 |
+
from typing_extensions import (
|
41 |
+
Literal as typing_extensions___Literal,
|
42 |
+
)
|
43 |
+
|
44 |
+
|
45 |
+
builtin___bool = bool
|
46 |
+
builtin___bytes = bytes
|
47 |
+
builtin___float = float
|
48 |
+
builtin___int = int
|
49 |
+
|
50 |
+
|
51 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
52 |
+
|
53 |
+
SyntaxValue = typing___NewType('SyntaxValue', builtin___int)
|
54 |
+
type___SyntaxValue = SyntaxValue
|
55 |
+
Syntax: _Syntax
|
56 |
+
class _Syntax(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[SyntaxValue]):
|
57 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
58 |
+
SYNTAX_PROTO2 = typing___cast(SyntaxValue, 0)
|
59 |
+
SYNTAX_PROTO3 = typing___cast(SyntaxValue, 1)
|
60 |
+
SYNTAX_PROTO2 = typing___cast(SyntaxValue, 0)
|
61 |
+
SYNTAX_PROTO3 = typing___cast(SyntaxValue, 1)
|
62 |
+
|
63 |
+
class Type(google___protobuf___message___Message):
|
64 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
65 |
+
name: typing___Text = ...
|
66 |
+
oneofs: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ...
|
67 |
+
syntax: type___SyntaxValue = ...
|
68 |
+
|
69 |
+
@property
|
70 |
+
def fields(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Field]: ...
|
71 |
+
|
72 |
+
@property
|
73 |
+
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
|
74 |
+
|
75 |
+
@property
|
76 |
+
def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ...
|
77 |
+
|
78 |
+
def __init__(self,
|
79 |
+
*,
|
80 |
+
name : typing___Optional[typing___Text] = None,
|
81 |
+
fields : typing___Optional[typing___Iterable[type___Field]] = None,
|
82 |
+
oneofs : typing___Optional[typing___Iterable[typing___Text]] = None,
|
83 |
+
options : typing___Optional[typing___Iterable[type___Option]] = None,
|
84 |
+
source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = None,
|
85 |
+
syntax : typing___Optional[type___SyntaxValue] = None,
|
86 |
+
) -> None: ...
|
87 |
+
def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ...
|
88 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"fields",b"fields",u"name",b"name",u"oneofs",b"oneofs",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax"]) -> None: ...
|
89 |
+
type___Type = Type
|
90 |
+
|
91 |
+
class Field(google___protobuf___message___Message):
|
92 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
93 |
+
KindValue = typing___NewType('KindValue', builtin___int)
|
94 |
+
type___KindValue = KindValue
|
95 |
+
Kind: _Kind
|
96 |
+
class _Kind(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[Field.KindValue]):
|
97 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
98 |
+
TYPE_UNKNOWN = typing___cast(Field.KindValue, 0)
|
99 |
+
TYPE_DOUBLE = typing___cast(Field.KindValue, 1)
|
100 |
+
TYPE_FLOAT = typing___cast(Field.KindValue, 2)
|
101 |
+
TYPE_INT64 = typing___cast(Field.KindValue, 3)
|
102 |
+
TYPE_UINT64 = typing___cast(Field.KindValue, 4)
|
103 |
+
TYPE_INT32 = typing___cast(Field.KindValue, 5)
|
104 |
+
TYPE_FIXED64 = typing___cast(Field.KindValue, 6)
|
105 |
+
TYPE_FIXED32 = typing___cast(Field.KindValue, 7)
|
106 |
+
TYPE_BOOL = typing___cast(Field.KindValue, 8)
|
107 |
+
TYPE_STRING = typing___cast(Field.KindValue, 9)
|
108 |
+
TYPE_GROUP = typing___cast(Field.KindValue, 10)
|
109 |
+
TYPE_MESSAGE = typing___cast(Field.KindValue, 11)
|
110 |
+
TYPE_BYTES = typing___cast(Field.KindValue, 12)
|
111 |
+
TYPE_UINT32 = typing___cast(Field.KindValue, 13)
|
112 |
+
TYPE_ENUM = typing___cast(Field.KindValue, 14)
|
113 |
+
TYPE_SFIXED32 = typing___cast(Field.KindValue, 15)
|
114 |
+
TYPE_SFIXED64 = typing___cast(Field.KindValue, 16)
|
115 |
+
TYPE_SINT32 = typing___cast(Field.KindValue, 17)
|
116 |
+
TYPE_SINT64 = typing___cast(Field.KindValue, 18)
|
117 |
+
TYPE_UNKNOWN = typing___cast(Field.KindValue, 0)
|
118 |
+
TYPE_DOUBLE = typing___cast(Field.KindValue, 1)
|
119 |
+
TYPE_FLOAT = typing___cast(Field.KindValue, 2)
|
120 |
+
TYPE_INT64 = typing___cast(Field.KindValue, 3)
|
121 |
+
TYPE_UINT64 = typing___cast(Field.KindValue, 4)
|
122 |
+
TYPE_INT32 = typing___cast(Field.KindValue, 5)
|
123 |
+
TYPE_FIXED64 = typing___cast(Field.KindValue, 6)
|
124 |
+
TYPE_FIXED32 = typing___cast(Field.KindValue, 7)
|
125 |
+
TYPE_BOOL = typing___cast(Field.KindValue, 8)
|
126 |
+
TYPE_STRING = typing___cast(Field.KindValue, 9)
|
127 |
+
TYPE_GROUP = typing___cast(Field.KindValue, 10)
|
128 |
+
TYPE_MESSAGE = typing___cast(Field.KindValue, 11)
|
129 |
+
TYPE_BYTES = typing___cast(Field.KindValue, 12)
|
130 |
+
TYPE_UINT32 = typing___cast(Field.KindValue, 13)
|
131 |
+
TYPE_ENUM = typing___cast(Field.KindValue, 14)
|
132 |
+
TYPE_SFIXED32 = typing___cast(Field.KindValue, 15)
|
133 |
+
TYPE_SFIXED64 = typing___cast(Field.KindValue, 16)
|
134 |
+
TYPE_SINT32 = typing___cast(Field.KindValue, 17)
|
135 |
+
TYPE_SINT64 = typing___cast(Field.KindValue, 18)
|
136 |
+
|
137 |
+
CardinalityValue = typing___NewType('CardinalityValue', builtin___int)
|
138 |
+
type___CardinalityValue = CardinalityValue
|
139 |
+
Cardinality: _Cardinality
|
140 |
+
class _Cardinality(google___protobuf___internal___enum_type_wrapper____EnumTypeWrapper[Field.CardinalityValue]):
|
141 |
+
DESCRIPTOR: google___protobuf___descriptor___EnumDescriptor = ...
|
142 |
+
CARDINALITY_UNKNOWN = typing___cast(Field.CardinalityValue, 0)
|
143 |
+
CARDINALITY_OPTIONAL = typing___cast(Field.CardinalityValue, 1)
|
144 |
+
CARDINALITY_REQUIRED = typing___cast(Field.CardinalityValue, 2)
|
145 |
+
CARDINALITY_REPEATED = typing___cast(Field.CardinalityValue, 3)
|
146 |
+
CARDINALITY_UNKNOWN = typing___cast(Field.CardinalityValue, 0)
|
147 |
+
CARDINALITY_OPTIONAL = typing___cast(Field.CardinalityValue, 1)
|
148 |
+
CARDINALITY_REQUIRED = typing___cast(Field.CardinalityValue, 2)
|
149 |
+
CARDINALITY_REPEATED = typing___cast(Field.CardinalityValue, 3)
|
150 |
+
|
151 |
+
kind: type___Field.KindValue = ...
|
152 |
+
cardinality: type___Field.CardinalityValue = ...
|
153 |
+
number: builtin___int = ...
|
154 |
+
name: typing___Text = ...
|
155 |
+
type_url: typing___Text = ...
|
156 |
+
oneof_index: builtin___int = ...
|
157 |
+
packed: builtin___bool = ...
|
158 |
+
json_name: typing___Text = ...
|
159 |
+
default_value: typing___Text = ...
|
160 |
+
|
161 |
+
@property
|
162 |
+
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
|
163 |
+
|
164 |
+
def __init__(self,
|
165 |
+
*,
|
166 |
+
kind : typing___Optional[type___Field.KindValue] = None,
|
167 |
+
cardinality : typing___Optional[type___Field.CardinalityValue] = None,
|
168 |
+
number : typing___Optional[builtin___int] = None,
|
169 |
+
name : typing___Optional[typing___Text] = None,
|
170 |
+
type_url : typing___Optional[typing___Text] = None,
|
171 |
+
oneof_index : typing___Optional[builtin___int] = None,
|
172 |
+
packed : typing___Optional[builtin___bool] = None,
|
173 |
+
options : typing___Optional[typing___Iterable[type___Option]] = None,
|
174 |
+
json_name : typing___Optional[typing___Text] = None,
|
175 |
+
default_value : typing___Optional[typing___Text] = None,
|
176 |
+
) -> None: ...
|
177 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"cardinality",b"cardinality",u"default_value",b"default_value",u"json_name",b"json_name",u"kind",b"kind",u"name",b"name",u"number",b"number",u"oneof_index",b"oneof_index",u"options",b"options",u"packed",b"packed",u"type_url",b"type_url"]) -> None: ...
|
178 |
+
type___Field = Field
|
179 |
+
|
180 |
+
class Enum(google___protobuf___message___Message):
|
181 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
182 |
+
name: typing___Text = ...
|
183 |
+
syntax: type___SyntaxValue = ...
|
184 |
+
|
185 |
+
@property
|
186 |
+
def enumvalue(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___EnumValue]: ...
|
187 |
+
|
188 |
+
@property
|
189 |
+
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
|
190 |
+
|
191 |
+
@property
|
192 |
+
def source_context(self) -> google___protobuf___source_context_pb2___SourceContext: ...
|
193 |
+
|
194 |
+
def __init__(self,
|
195 |
+
*,
|
196 |
+
name : typing___Optional[typing___Text] = None,
|
197 |
+
enumvalue : typing___Optional[typing___Iterable[type___EnumValue]] = None,
|
198 |
+
options : typing___Optional[typing___Iterable[type___Option]] = None,
|
199 |
+
source_context : typing___Optional[google___protobuf___source_context_pb2___SourceContext] = None,
|
200 |
+
syntax : typing___Optional[type___SyntaxValue] = None,
|
201 |
+
) -> None: ...
|
202 |
+
def HasField(self, field_name: typing_extensions___Literal[u"source_context",b"source_context"]) -> builtin___bool: ...
|
203 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"enumvalue",b"enumvalue",u"name",b"name",u"options",b"options",u"source_context",b"source_context",u"syntax",b"syntax"]) -> None: ...
|
204 |
+
type___Enum = Enum
|
205 |
+
|
206 |
+
class EnumValue(google___protobuf___message___Message):
|
207 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
208 |
+
name: typing___Text = ...
|
209 |
+
number: builtin___int = ...
|
210 |
+
|
211 |
+
@property
|
212 |
+
def options(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___Option]: ...
|
213 |
+
|
214 |
+
def __init__(self,
|
215 |
+
*,
|
216 |
+
name : typing___Optional[typing___Text] = None,
|
217 |
+
number : typing___Optional[builtin___int] = None,
|
218 |
+
options : typing___Optional[typing___Iterable[type___Option]] = None,
|
219 |
+
) -> None: ...
|
220 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"number",b"number",u"options",b"options"]) -> None: ...
|
221 |
+
type___EnumValue = EnumValue
|
222 |
+
|
223 |
+
class Option(google___protobuf___message___Message):
|
224 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
225 |
+
name: typing___Text = ...
|
226 |
+
|
227 |
+
@property
|
228 |
+
def value(self) -> google___protobuf___any_pb2___Any: ...
|
229 |
+
|
230 |
+
def __init__(self,
|
231 |
+
*,
|
232 |
+
name : typing___Optional[typing___Text] = None,
|
233 |
+
value : typing___Optional[google___protobuf___any_pb2___Any] = None,
|
234 |
+
) -> None: ...
|
235 |
+
def HasField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> builtin___bool: ...
|
236 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"name",b"name",u"value",b"value"]) -> None: ...
|
237 |
+
type___Option = Option
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/util/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/google/protobuf/wrappers_pb2.pyi
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
@generated by mypy-protobuf. Do not edit manually!
|
3 |
+
isort:skip_file
|
4 |
+
"""
|
5 |
+
from google.protobuf.descriptor import (
|
6 |
+
Descriptor as google___protobuf___descriptor___Descriptor,
|
7 |
+
FileDescriptor as google___protobuf___descriptor___FileDescriptor,
|
8 |
+
)
|
9 |
+
|
10 |
+
from google.protobuf.message import (
|
11 |
+
Message as google___protobuf___message___Message,
|
12 |
+
)
|
13 |
+
|
14 |
+
from typing import (
|
15 |
+
Optional as typing___Optional,
|
16 |
+
Text as typing___Text,
|
17 |
+
)
|
18 |
+
|
19 |
+
from typing_extensions import (
|
20 |
+
Literal as typing_extensions___Literal,
|
21 |
+
)
|
22 |
+
|
23 |
+
|
24 |
+
builtin___bool = bool
|
25 |
+
builtin___bytes = bytes
|
26 |
+
builtin___float = float
|
27 |
+
builtin___int = int
|
28 |
+
|
29 |
+
|
30 |
+
DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ...
|
31 |
+
|
32 |
+
class DoubleValue(google___protobuf___message___Message):
|
33 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
34 |
+
value: builtin___float = ...
|
35 |
+
|
36 |
+
def __init__(self,
|
37 |
+
*,
|
38 |
+
value : typing___Optional[builtin___float] = None,
|
39 |
+
) -> None: ...
|
40 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
|
41 |
+
type___DoubleValue = DoubleValue
|
42 |
+
|
43 |
+
class FloatValue(google___protobuf___message___Message):
|
44 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
45 |
+
value: builtin___float = ...
|
46 |
+
|
47 |
+
def __init__(self,
|
48 |
+
*,
|
49 |
+
value : typing___Optional[builtin___float] = None,
|
50 |
+
) -> None: ...
|
51 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
|
52 |
+
type___FloatValue = FloatValue
|
53 |
+
|
54 |
+
class Int64Value(google___protobuf___message___Message):
|
55 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
56 |
+
value: builtin___int = ...
|
57 |
+
|
58 |
+
def __init__(self,
|
59 |
+
*,
|
60 |
+
value : typing___Optional[builtin___int] = None,
|
61 |
+
) -> None: ...
|
62 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
|
63 |
+
type___Int64Value = Int64Value
|
64 |
+
|
65 |
+
class UInt64Value(google___protobuf___message___Message):
|
66 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
67 |
+
value: builtin___int = ...
|
68 |
+
|
69 |
+
def __init__(self,
|
70 |
+
*,
|
71 |
+
value : typing___Optional[builtin___int] = None,
|
72 |
+
) -> None: ...
|
73 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
|
74 |
+
type___UInt64Value = UInt64Value
|
75 |
+
|
76 |
+
class Int32Value(google___protobuf___message___Message):
|
77 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
78 |
+
value: builtin___int = ...
|
79 |
+
|
80 |
+
def __init__(self,
|
81 |
+
*,
|
82 |
+
value : typing___Optional[builtin___int] = None,
|
83 |
+
) -> None: ...
|
84 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
|
85 |
+
type___Int32Value = Int32Value
|
86 |
+
|
87 |
+
class UInt32Value(google___protobuf___message___Message):
|
88 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
89 |
+
value: builtin___int = ...
|
90 |
+
|
91 |
+
def __init__(self,
|
92 |
+
*,
|
93 |
+
value : typing___Optional[builtin___int] = None,
|
94 |
+
) -> None: ...
|
95 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
|
96 |
+
type___UInt32Value = UInt32Value
|
97 |
+
|
98 |
+
class BoolValue(google___protobuf___message___Message):
|
99 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
100 |
+
value: builtin___bool = ...
|
101 |
+
|
102 |
+
def __init__(self,
|
103 |
+
*,
|
104 |
+
value : typing___Optional[builtin___bool] = None,
|
105 |
+
) -> None: ...
|
106 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
|
107 |
+
type___BoolValue = BoolValue
|
108 |
+
|
109 |
+
class StringValue(google___protobuf___message___Message):
|
110 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
111 |
+
value: typing___Text = ...
|
112 |
+
|
113 |
+
def __init__(self,
|
114 |
+
*,
|
115 |
+
value : typing___Optional[typing___Text] = None,
|
116 |
+
) -> None: ...
|
117 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
|
118 |
+
type___StringValue = StringValue
|
119 |
+
|
120 |
+
class BytesValue(google___protobuf___message___Message):
|
121 |
+
DESCRIPTOR: google___protobuf___descriptor___Descriptor = ...
|
122 |
+
value: builtin___bytes = ...
|
123 |
+
|
124 |
+
def __init__(self,
|
125 |
+
*,
|
126 |
+
value : typing___Optional[builtin___bytes] = None,
|
127 |
+
) -> None: ...
|
128 |
+
def ClearField(self, field_name: typing_extensions___Literal[u"value",b"value"]) -> None: ...
|
129 |
+
type___BytesValue = BytesValue
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/smarty.pyi
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Pattern
|
2 |
+
|
3 |
+
from markdown.extensions import Extension
|
4 |
+
from markdown.inlinepatterns import HtmlInlineProcessor
|
5 |
+
|
6 |
+
punctClass: str
|
7 |
+
endOfWordClass: str
|
8 |
+
closeClass: str
|
9 |
+
openingQuotesBase: str
|
10 |
+
substitutions: Any
|
11 |
+
singleQuoteStartRe: Any
|
12 |
+
doubleQuoteStartRe: Any
|
13 |
+
doubleQuoteSetsRe: str
|
14 |
+
singleQuoteSetsRe: str
|
15 |
+
decadeAbbrRe: str
|
16 |
+
openingDoubleQuotesRegex: Any
|
17 |
+
closingDoubleQuotesRegex: str
|
18 |
+
closingDoubleQuotesRegex2: Any
|
19 |
+
openingSingleQuotesRegex: Any
|
20 |
+
closingSingleQuotesRegex: Any
|
21 |
+
closingSingleQuotesRegex2: Any
|
22 |
+
remainingSingleQuotesRegex: str
|
23 |
+
remainingDoubleQuotesRegex: str
|
24 |
+
HTML_STRICT_RE: str
|
25 |
+
|
26 |
+
class SubstituteTextPattern(HtmlInlineProcessor):
|
27 |
+
replace: Any
|
28 |
+
def __init__(self, pattern, replace, md) -> None: ...
|
29 |
+
|
30 |
+
class SmartyExtension(Extension):
|
31 |
+
substitutions: Any
|
32 |
+
def __init__(self, **kwargs) -> None: ...
|
33 |
+
def educateDashes(self, md) -> None: ...
|
34 |
+
def educateEllipses(self, md) -> None: ...
|
35 |
+
def educateAngledQuotes(self, md) -> None: ...
|
36 |
+
def educateQuotes(self, md) -> None: ...
|
37 |
+
inlinePatterns: Any
|
38 |
+
|
39 |
+
def makeExtension(**kwargs): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/markdown/extensions/toc.pyi
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Pattern
|
2 |
+
|
3 |
+
from markdown.extensions import Extension
|
4 |
+
from markdown.treeprocessors import Treeprocessor
|
5 |
+
|
6 |
+
def slugify(value, separator): ...
|
7 |
+
|
8 |
+
IDCOUNT_RE: Pattern
|
9 |
+
|
10 |
+
def unique(id, ids): ...
|
11 |
+
def get_name(el): ...
|
12 |
+
def stashedHTML2text(text, md, strip_entities: bool = ...): ...
|
13 |
+
def unescape(text): ...
|
14 |
+
def nest_toc_tokens(toc_list): ...
|
15 |
+
|
16 |
+
class TocTreeprocessor(Treeprocessor):
|
17 |
+
marker: Any
|
18 |
+
title: Any
|
19 |
+
base_level: Any
|
20 |
+
slugify: Any
|
21 |
+
sep: Any
|
22 |
+
use_anchors: Any
|
23 |
+
anchorlink_class: Any
|
24 |
+
use_permalinks: Any
|
25 |
+
permalink_class: Any
|
26 |
+
permalink_title: Any
|
27 |
+
header_rgx: Any
|
28 |
+
toc_top: int = ...
|
29 |
+
toc_bottom: Any
|
30 |
+
def __init__(self, md, config) -> None: ...
|
31 |
+
def iterparent(self, node) -> None: ...
|
32 |
+
def replace_marker(self, root, elem) -> None: ...
|
33 |
+
def set_level(self, elem) -> None: ...
|
34 |
+
def add_anchor(self, c, elem_id) -> None: ...
|
35 |
+
def add_permalink(self, c, elem_id) -> None: ...
|
36 |
+
def build_toc_div(self, toc_list): ...
|
37 |
+
|
38 |
+
class TocExtension(Extension):
|
39 |
+
TreeProcessorClass: Any
|
40 |
+
def __init__(self, **kwargs) -> None: ...
|
41 |
+
md: Any
|
42 |
+
def reset(self) -> None: ...
|
43 |
+
|
44 |
+
def makeExtension(**kwargs): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/__init__.pyi
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
from pynamodb.connection.base import Connection as Connection
|
2 |
+
from pynamodb.connection.table import TableConnection as TableConnection
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/base.pyi
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Dict, Optional, Text
|
2 |
+
|
3 |
+
BOTOCORE_EXCEPTIONS: Any
|
4 |
+
log: Any
|
5 |
+
|
6 |
+
class MetaTable:
|
7 |
+
data: Dict[Any, Any]
|
8 |
+
def __init__(self, data: Dict[Any, Any]) -> None: ...
|
9 |
+
@property
|
10 |
+
def range_keyname(self) -> Optional[Text]: ...
|
11 |
+
@property
|
12 |
+
def hash_keyname(self) -> Text: ...
|
13 |
+
def get_index_hash_keyname(self, index_name: Text) -> Optional[Text]: ...
|
14 |
+
def get_item_attribute_map(self, attributes, item_key: Any = ..., pythonic_key: bool = ...): ...
|
15 |
+
def get_attribute_type(self, attribute_name, value: Optional[Any] = ...): ...
|
16 |
+
def get_identifier_map(self, hash_key, range_key: Optional[Any] = ..., key: Any = ...): ...
|
17 |
+
def get_exclusive_start_key_map(self, exclusive_start_key): ...
|
18 |
+
|
19 |
+
class Connection:
|
20 |
+
host: Any
|
21 |
+
region: Any
|
22 |
+
session_cls: Any
|
23 |
+
def __init__(
|
24 |
+
self,
|
25 |
+
region: Optional[Any] = ...,
|
26 |
+
host: Optional[Any] = ...,
|
27 |
+
session_cls: Optional[Any] = ...,
|
28 |
+
request_timeout_seconds: Optional[Any] = ...,
|
29 |
+
max_retry_attempts: Optional[Any] = ...,
|
30 |
+
base_backoff_ms: Optional[Any] = ...,
|
31 |
+
) -> None: ...
|
32 |
+
def dispatch(self, operation_name, operation_kwargs): ...
|
33 |
+
@property
|
34 |
+
def session(self): ...
|
35 |
+
@property
|
36 |
+
def requests_session(self): ...
|
37 |
+
@property
|
38 |
+
def client(self): ...
|
39 |
+
def get_meta_table(self, table_name: Text, refresh: bool = ...): ...
|
40 |
+
def create_table(
|
41 |
+
self,
|
42 |
+
table_name: Text,
|
43 |
+
attribute_definitions: Optional[Any] = ...,
|
44 |
+
key_schema: Optional[Any] = ...,
|
45 |
+
read_capacity_units: Optional[Any] = ...,
|
46 |
+
write_capacity_units: Optional[Any] = ...,
|
47 |
+
global_secondary_indexes: Optional[Any] = ...,
|
48 |
+
local_secondary_indexes: Optional[Any] = ...,
|
49 |
+
stream_specification: Optional[Any] = ...,
|
50 |
+
): ...
|
51 |
+
def delete_table(self, table_name: Text): ...
|
52 |
+
def update_table(
|
53 |
+
self,
|
54 |
+
table_name: Text,
|
55 |
+
read_capacity_units: Optional[Any] = ...,
|
56 |
+
write_capacity_units: Optional[Any] = ...,
|
57 |
+
global_secondary_index_updates: Optional[Any] = ...,
|
58 |
+
): ...
|
59 |
+
def list_tables(self, exclusive_start_table_name: Optional[Any] = ..., limit: Optional[Any] = ...): ...
|
60 |
+
def describe_table(self, table_name: Text): ...
|
61 |
+
def get_conditional_operator(self, operator): ...
|
62 |
+
def get_item_attribute_map(self, table_name: Text, attributes, item_key: Any = ..., pythonic_key: bool = ...): ...
|
63 |
+
def get_expected_map(self, table_name: Text, expected): ...
|
64 |
+
def parse_attribute(self, attribute, return_type: bool = ...): ...
|
65 |
+
def get_attribute_type(self, table_name: Text, attribute_name, value: Optional[Any] = ...): ...
|
66 |
+
def get_identifier_map(self, table_name: Text, hash_key, range_key: Optional[Any] = ..., key: Any = ...): ...
|
67 |
+
def get_query_filter_map(self, table_name: Text, query_filters): ...
|
68 |
+
def get_consumed_capacity_map(self, return_consumed_capacity): ...
|
69 |
+
def get_return_values_map(self, return_values): ...
|
70 |
+
def get_item_collection_map(self, return_item_collection_metrics): ...
|
71 |
+
def get_exclusive_start_key_map(self, table_name: Text, exclusive_start_key): ...
|
72 |
+
def delete_item(
|
73 |
+
self,
|
74 |
+
table_name: Text,
|
75 |
+
hash_key,
|
76 |
+
range_key: Optional[Any] = ...,
|
77 |
+
expected: Optional[Any] = ...,
|
78 |
+
conditional_operator: Optional[Any] = ...,
|
79 |
+
return_values: Optional[Any] = ...,
|
80 |
+
return_consumed_capacity: Optional[Any] = ...,
|
81 |
+
return_item_collection_metrics: Optional[Any] = ...,
|
82 |
+
): ...
|
83 |
+
def update_item(
|
84 |
+
self,
|
85 |
+
table_name: Text,
|
86 |
+
hash_key,
|
87 |
+
range_key: Optional[Any] = ...,
|
88 |
+
attribute_updates: Optional[Any] = ...,
|
89 |
+
expected: Optional[Any] = ...,
|
90 |
+
return_consumed_capacity: Optional[Any] = ...,
|
91 |
+
conditional_operator: Optional[Any] = ...,
|
92 |
+
return_item_collection_metrics: Optional[Any] = ...,
|
93 |
+
return_values: Optional[Any] = ...,
|
94 |
+
): ...
|
95 |
+
def put_item(
|
96 |
+
self,
|
97 |
+
table_name: Text,
|
98 |
+
hash_key,
|
99 |
+
range_key: Optional[Any] = ...,
|
100 |
+
attributes: Optional[Any] = ...,
|
101 |
+
expected: Optional[Any] = ...,
|
102 |
+
conditional_operator: Optional[Any] = ...,
|
103 |
+
return_values: Optional[Any] = ...,
|
104 |
+
return_consumed_capacity: Optional[Any] = ...,
|
105 |
+
return_item_collection_metrics: Optional[Any] = ...,
|
106 |
+
): ...
|
107 |
+
def batch_write_item(
|
108 |
+
self,
|
109 |
+
table_name: Text,
|
110 |
+
put_items: Optional[Any] = ...,
|
111 |
+
delete_items: Optional[Any] = ...,
|
112 |
+
return_consumed_capacity: Optional[Any] = ...,
|
113 |
+
return_item_collection_metrics: Optional[Any] = ...,
|
114 |
+
): ...
|
115 |
+
def batch_get_item(
|
116 |
+
self,
|
117 |
+
table_name: Text,
|
118 |
+
keys,
|
119 |
+
consistent_read: Optional[Any] = ...,
|
120 |
+
return_consumed_capacity: Optional[Any] = ...,
|
121 |
+
attributes_to_get: Optional[Any] = ...,
|
122 |
+
): ...
|
123 |
+
def get_item(
|
124 |
+
self,
|
125 |
+
table_name: Text,
|
126 |
+
hash_key,
|
127 |
+
range_key: Optional[Any] = ...,
|
128 |
+
consistent_read: bool = ...,
|
129 |
+
attributes_to_get: Optional[Any] = ...,
|
130 |
+
): ...
|
131 |
+
def scan(
|
132 |
+
self,
|
133 |
+
table_name: Text,
|
134 |
+
attributes_to_get: Optional[Any] = ...,
|
135 |
+
limit: Optional[Any] = ...,
|
136 |
+
conditional_operator: Optional[Any] = ...,
|
137 |
+
scan_filter: Optional[Any] = ...,
|
138 |
+
return_consumed_capacity: Optional[Any] = ...,
|
139 |
+
exclusive_start_key: Optional[Any] = ...,
|
140 |
+
segment: Optional[Any] = ...,
|
141 |
+
total_segments: Optional[Any] = ...,
|
142 |
+
): ...
|
143 |
+
def query(
|
144 |
+
self,
|
145 |
+
table_name: Text,
|
146 |
+
hash_key,
|
147 |
+
attributes_to_get: Optional[Any] = ...,
|
148 |
+
consistent_read: bool = ...,
|
149 |
+
exclusive_start_key: Optional[Any] = ...,
|
150 |
+
index_name: Optional[Any] = ...,
|
151 |
+
key_conditions: Optional[Any] = ...,
|
152 |
+
query_filters: Optional[Any] = ...,
|
153 |
+
conditional_operator: Optional[Any] = ...,
|
154 |
+
limit: Optional[Any] = ...,
|
155 |
+
return_consumed_capacity: Optional[Any] = ...,
|
156 |
+
scan_index_forward: Optional[Any] = ...,
|
157 |
+
select: Optional[Any] = ...,
|
158 |
+
): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/table.pyi
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Optional
|
2 |
+
|
3 |
+
class TableConnection:
|
4 |
+
table_name: Any
|
5 |
+
connection: Any
|
6 |
+
def __init__(
|
7 |
+
self,
|
8 |
+
table_name,
|
9 |
+
region: Optional[Any] = ...,
|
10 |
+
host: Optional[Any] = ...,
|
11 |
+
session_cls: Optional[Any] = ...,
|
12 |
+
request_timeout_seconds: Optional[Any] = ...,
|
13 |
+
max_retry_attempts: Optional[Any] = ...,
|
14 |
+
base_backoff_ms: Optional[Any] = ...,
|
15 |
+
) -> None: ...
|
16 |
+
def delete_item(
|
17 |
+
self,
|
18 |
+
hash_key,
|
19 |
+
range_key: Optional[Any] = ...,
|
20 |
+
expected: Optional[Any] = ...,
|
21 |
+
conditional_operator: Optional[Any] = ...,
|
22 |
+
return_values: Optional[Any] = ...,
|
23 |
+
return_consumed_capacity: Optional[Any] = ...,
|
24 |
+
return_item_collection_metrics: Optional[Any] = ...,
|
25 |
+
): ...
|
26 |
+
def update_item(
|
27 |
+
self,
|
28 |
+
hash_key,
|
29 |
+
range_key: Optional[Any] = ...,
|
30 |
+
attribute_updates: Optional[Any] = ...,
|
31 |
+
expected: Optional[Any] = ...,
|
32 |
+
conditional_operator: Optional[Any] = ...,
|
33 |
+
return_consumed_capacity: Optional[Any] = ...,
|
34 |
+
return_item_collection_metrics: Optional[Any] = ...,
|
35 |
+
return_values: Optional[Any] = ...,
|
36 |
+
): ...
|
37 |
+
def put_item(
|
38 |
+
self,
|
39 |
+
hash_key,
|
40 |
+
range_key: Optional[Any] = ...,
|
41 |
+
attributes: Optional[Any] = ...,
|
42 |
+
expected: Optional[Any] = ...,
|
43 |
+
conditional_operator: Optional[Any] = ...,
|
44 |
+
return_values: Optional[Any] = ...,
|
45 |
+
return_consumed_capacity: Optional[Any] = ...,
|
46 |
+
return_item_collection_metrics: Optional[Any] = ...,
|
47 |
+
): ...
|
48 |
+
def batch_write_item(
|
49 |
+
self,
|
50 |
+
put_items: Optional[Any] = ...,
|
51 |
+
delete_items: Optional[Any] = ...,
|
52 |
+
return_consumed_capacity: Optional[Any] = ...,
|
53 |
+
return_item_collection_metrics: Optional[Any] = ...,
|
54 |
+
): ...
|
55 |
+
def batch_get_item(
|
56 |
+
self,
|
57 |
+
keys,
|
58 |
+
consistent_read: Optional[Any] = ...,
|
59 |
+
return_consumed_capacity: Optional[Any] = ...,
|
60 |
+
attributes_to_get: Optional[Any] = ...,
|
61 |
+
): ...
|
62 |
+
def get_item(
|
63 |
+
self, hash_key, range_key: Optional[Any] = ..., consistent_read: bool = ..., attributes_to_get: Optional[Any] = ...
|
64 |
+
): ...
|
65 |
+
def scan(
|
66 |
+
self,
|
67 |
+
attributes_to_get: Optional[Any] = ...,
|
68 |
+
limit: Optional[Any] = ...,
|
69 |
+
conditional_operator: Optional[Any] = ...,
|
70 |
+
scan_filter: Optional[Any] = ...,
|
71 |
+
return_consumed_capacity: Optional[Any] = ...,
|
72 |
+
segment: Optional[Any] = ...,
|
73 |
+
total_segments: Optional[Any] = ...,
|
74 |
+
exclusive_start_key: Optional[Any] = ...,
|
75 |
+
): ...
|
76 |
+
def query(
|
77 |
+
self,
|
78 |
+
hash_key,
|
79 |
+
attributes_to_get: Optional[Any] = ...,
|
80 |
+
consistent_read: bool = ...,
|
81 |
+
exclusive_start_key: Optional[Any] = ...,
|
82 |
+
index_name: Optional[Any] = ...,
|
83 |
+
key_conditions: Optional[Any] = ...,
|
84 |
+
query_filters: Optional[Any] = ...,
|
85 |
+
limit: Optional[Any] = ...,
|
86 |
+
return_consumed_capacity: Optional[Any] = ...,
|
87 |
+
scan_index_forward: Optional[Any] = ...,
|
88 |
+
conditional_operator: Optional[Any] = ...,
|
89 |
+
select: Optional[Any] = ...,
|
90 |
+
): ...
|
91 |
+
def describe_table(self): ...
|
92 |
+
def delete_table(self): ...
|
93 |
+
def update_table(
|
94 |
+
self,
|
95 |
+
read_capacity_units: Optional[Any] = ...,
|
96 |
+
write_capacity_units: Optional[Any] = ...,
|
97 |
+
global_secondary_index_updates: Optional[Any] = ...,
|
98 |
+
): ...
|
99 |
+
def create_table(
|
100 |
+
self,
|
101 |
+
attribute_definitions: Optional[Any] = ...,
|
102 |
+
key_schema: Optional[Any] = ...,
|
103 |
+
read_capacity_units: Optional[Any] = ...,
|
104 |
+
write_capacity_units: Optional[Any] = ...,
|
105 |
+
global_secondary_indexes: Optional[Any] = ...,
|
106 |
+
local_secondary_indexes: Optional[Any] = ...,
|
107 |
+
stream_specification: Optional[Any] = ...,
|
108 |
+
): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/pynamodb/connection/util.pyi
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Text
|
2 |
+
|
3 |
+
def pythonic(var_name: Text) -> Text: ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/contrib/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/packages/__init__.pyi
ADDED
File without changes
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/packages/ssl_match_hostname/__init__.pyi
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import ssl
|
2 |
+
|
3 |
+
CertificateError = ssl.CertificateError
|
4 |
+
match_hostname = ssl.match_hostname
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/packages/ssl_match_hostname/_implementation.pyi
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
class CertificateError(ValueError): ...
|
2 |
+
|
3 |
+
def match_hostname(cert, hostname): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/__init__.pyi
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import ssl
|
2 |
+
|
3 |
+
from . import connection, request, response, retry, ssl_, timeout, url
|
4 |
+
|
5 |
+
is_connection_dropped = connection.is_connection_dropped
|
6 |
+
make_headers = request.make_headers
|
7 |
+
is_fp_closed = response.is_fp_closed
|
8 |
+
SSLContext = ssl.SSLContext
|
9 |
+
HAS_SNI = ssl_.HAS_SNI
|
10 |
+
assert_fingerprint = ssl_.assert_fingerprint
|
11 |
+
resolve_cert_reqs = ssl_.resolve_cert_reqs
|
12 |
+
resolve_ssl_version = ssl_.resolve_ssl_version
|
13 |
+
ssl_wrap_socket = ssl_.ssl_wrap_socket
|
14 |
+
current_time = timeout.current_time
|
15 |
+
Timeout = timeout.Timeout
|
16 |
+
Retry = retry.Retry
|
17 |
+
get_host = url.get_host
|
18 |
+
parse_url = url.parse_url
|
19 |
+
split_first = url.split_first
|
20 |
+
Url = url.Url
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/connection.pyi
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
poll: Any
|
4 |
+
select: Any
|
5 |
+
HAS_IPV6: bool
|
6 |
+
|
7 |
+
def is_connection_dropped(conn): ...
|
8 |
+
def create_connection(address, timeout=..., source_address=..., socket_options=...): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/request.pyi
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
# from ..packages import six
|
4 |
+
|
5 |
+
# b = six.b
|
6 |
+
|
7 |
+
ACCEPT_ENCODING: Any
|
8 |
+
|
9 |
+
def make_headers(
|
10 |
+
keep_alive=..., accept_encoding=..., user_agent=..., basic_auth=..., proxy_basic_auth=..., disable_cache=...
|
11 |
+
): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/response.pyi
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
def is_fp_closed(obj): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/retry.pyi
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
from .. import exceptions
|
4 |
+
|
5 |
+
ConnectTimeoutError = exceptions.ConnectTimeoutError
|
6 |
+
MaxRetryError = exceptions.MaxRetryError
|
7 |
+
ProtocolError = exceptions.ProtocolError
|
8 |
+
ReadTimeoutError = exceptions.ReadTimeoutError
|
9 |
+
ResponseError = exceptions.ResponseError
|
10 |
+
|
11 |
+
log: Any
|
12 |
+
|
13 |
+
class Retry:
|
14 |
+
DEFAULT_METHOD_WHITELIST: Any
|
15 |
+
BACKOFF_MAX: Any
|
16 |
+
total: Any
|
17 |
+
connect: Any
|
18 |
+
read: Any
|
19 |
+
redirect: Any
|
20 |
+
status_forcelist: Any
|
21 |
+
method_whitelist: Any
|
22 |
+
backoff_factor: Any
|
23 |
+
raise_on_redirect: Any
|
24 |
+
def __init__(
|
25 |
+
self,
|
26 |
+
total=...,
|
27 |
+
connect=...,
|
28 |
+
read=...,
|
29 |
+
redirect=...,
|
30 |
+
method_whitelist=...,
|
31 |
+
status_forcelist=...,
|
32 |
+
backoff_factor=...,
|
33 |
+
raise_on_redirect=...,
|
34 |
+
_observed_errors=...,
|
35 |
+
) -> None: ...
|
36 |
+
def new(self, **kw): ...
|
37 |
+
@classmethod
|
38 |
+
def from_int(cls, retries, redirect=..., default=...): ...
|
39 |
+
def get_backoff_time(self): ...
|
40 |
+
def sleep(self): ...
|
41 |
+
def is_forced_retry(self, method, status_code): ...
|
42 |
+
def is_exhausted(self): ...
|
43 |
+
def increment(self, method=..., url=..., response=..., error=..., _pool=..., _stacktrace=...): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/ssl_.pyi
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import ssl
|
2 |
+
from typing import Any
|
3 |
+
|
4 |
+
from .. import exceptions
|
5 |
+
|
6 |
+
SSLError = exceptions.SSLError
|
7 |
+
InsecurePlatformWarning = exceptions.InsecurePlatformWarning
|
8 |
+
SSLContext = ssl.SSLContext
|
9 |
+
|
10 |
+
HAS_SNI: Any
|
11 |
+
create_default_context: Any
|
12 |
+
OP_NO_SSLv2: Any
|
13 |
+
OP_NO_SSLv3: Any
|
14 |
+
OP_NO_COMPRESSION: Any
|
15 |
+
|
16 |
+
def assert_fingerprint(cert, fingerprint): ...
|
17 |
+
def resolve_cert_reqs(candidate): ...
|
18 |
+
def resolve_ssl_version(candidate): ...
|
19 |
+
def create_urllib3_context(ssl_version=..., cert_reqs=..., options=..., ciphers=...): ...
|
20 |
+
def ssl_wrap_socket(
|
21 |
+
sock,
|
22 |
+
keyfile=...,
|
23 |
+
certfile=...,
|
24 |
+
cert_reqs=...,
|
25 |
+
ca_certs=...,
|
26 |
+
server_hostname=...,
|
27 |
+
ssl_version=...,
|
28 |
+
ciphers=...,
|
29 |
+
ssl_context=...,
|
30 |
+
): ...
|
temp_venv/lib/python3.13/site-packages/jedi/third_party/typeshed/third_party/2and3/requests/packages/urllib3/util/timeout.pyi
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any
|
2 |
+
|
3 |
+
from .. import exceptions
|
4 |
+
|
5 |
+
TimeoutStateError = exceptions.TimeoutStateError
|
6 |
+
|
7 |
+
def current_time(): ...
|
8 |
+
|
9 |
+
class Timeout:
|
10 |
+
DEFAULT_TIMEOUT: Any
|
11 |
+
total: Any
|
12 |
+
def __init__(self, total=..., connect=..., read=...) -> None: ...
|
13 |
+
@classmethod
|
14 |
+
def from_float(cls, timeout): ...
|
15 |
+
def clone(self): ...
|
16 |
+
def start_connect(self): ...
|
17 |
+
def get_connect_duration(self): ...
|
18 |
+
@property
|
19 |
+
def connect_timeout(self): ...
|
20 |
+
@property
|
21 |
+
def read_timeout(self): ...
|