alis.open.options.v1 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- alis_open_options_v1-1.3.0/PKG-INFO +8 -0
- alis_open_options_v1-1.3.0/alis/__init__.py +1 -0
- alis_open_options_v1-1.3.0/alis/__init__.pyi +1 -0
- alis_open_options_v1-1.3.0/alis/open/__init__.py +1 -0
- alis_open_options_v1-1.3.0/alis/open/__init__.pyi +1 -0
- alis_open_options_v1-1.3.0/alis/open/options/__init__.py +1 -0
- alis_open_options_v1-1.3.0/alis/open/options/__init__.pyi +1 -0
- alis_open_options_v1-1.3.0/alis/open/options/v1/__init__.py +1 -0
- alis_open_options_v1-1.3.0/alis/open/options/v1/__init__.pyi +1 -0
- alis_open_options_v1-1.3.0/alis/open/options/v1/options_pb2.py +48 -0
- alis_open_options_v1-1.3.0/alis/open/options/v1/options_pb2.pyi +259 -0
- alis_open_options_v1-1.3.0/alis/open/options/v1/options_pb2_grpc.py +24 -0
- alis_open_options_v1-1.3.0/alis/open/options/v1/options_pb2_grpc.pyi +20 -0
- alis_open_options_v1-1.3.0/alis.open.options.v1.egg-info/PKG-INFO +8 -0
- alis_open_options_v1-1.3.0/alis.open.options.v1.egg-info/SOURCES.txt +18 -0
- alis_open_options_v1-1.3.0/alis.open.options.v1.egg-info/dependency_links.txt +1 -0
- alis_open_options_v1-1.3.0/alis.open.options.v1.egg-info/requires.txt +2 -0
- alis_open_options_v1-1.3.0/alis.open.options.v1.egg-info/top_level.txt +1 -0
- alis_open_options_v1-1.3.0/setup.cfg +4 -0
- alis_open_options_v1-1.3.0/setup.py +38 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: alis/open/options/v1/options.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
33,
|
|
16
|
+
5,
|
|
17
|
+
'',
|
|
18
|
+
'alis/open/options/v1/options.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"alis/open/options/v1/options.proto\x12\x14\x61lis.open.options.v1\x1a google/protobuf/descriptor.proto\"\x86\x01\n\x0b\x46ileOptions\x12M\n\x0bjson_schema\x18\x01 \x01(\x0b\x32,.alis.open.options.v1.FileOptions.JsonSchemaR\njsonSchema\x1a(\n\nJsonSchema\x12\x1a\n\x08generate\x18\x01 \x01(\x08R\x08generate\"\x8c\x01\n\x0eMessageOptions\x12P\n\x0bjson_schema\x18\x01 \x01(\x0b\x32/.alis.open.options.v1.MessageOptions.JsonSchemaR\njsonSchema\x1a(\n\nJsonSchema\x12\x1a\n\x08generate\x18\x01 \x01(\x08R\x08generate\"\xb6\x08\n\x0c\x46ieldOptions\x12N\n\x0bjson_schema\x18\x01 \x01(\x0b\x32-.alis.open.options.v1.FieldOptions.JsonSchemaR\njsonSchema\x1a\xd5\x07\n\nJsonSchema\x12\x19\n\x05title\x18\x01 \x01(\tH\x00R\x05title\x88\x01\x01\x12%\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1b\n\x06ignore\x18\x03 \x01(\x08H\x02R\x06ignore\x88\x01\x01\x12\x1d\n\x07pattern\x18\x04 \x01(\tH\x03R\x07pattern\x88\x01\x01\x12\x1b\n\x06\x66ormat\x18\x05 \x01(\tH\x04R\x06\x66ormat\x88\x01\x01\x12.\n\x10\x63ontent_encoding\x18\x06 \x01(\tH\x05R\x0f\x63ontentEncoding\x88\x01\x01\x12\x31\n\x12\x63ontent_media_type\x18\x07 \x01(\tH\x06R\x10\x63ontentMediaType\x88\x01\x01\x12\"\n\nmin_length\x18\x08 \x01(\x03H\x07R\tminLength\x88\x01\x01\x12\"\n\nmax_length\x18\t \x01(\x03H\x08R\tmaxLength\x88\x01\x01\x12\x1d\n\x07minimum\x18\n \x01(\x01H\tR\x07minimum\x88\x01\x01\x12\x1d\n\x07maximum\x18\x0b \x01(\x01H\nR\x07maximum\x88\x01\x01\x12\x30\n\x11\x65xclusive_minimum\x18\x0c \x01(\x08H\x0bR\x10\x65xclusiveMinimum\x88\x01\x01\x12\x30\n\x11\x65xclusive_maximum\x18\r \x01(\x08H\x0cR\x10\x65xclusiveMaximum\x88\x01\x01\x12 \n\tmin_items\x18\x0e \x01(\x03H\rR\x08minItems\x88\x01\x01\x12 \n\tmax_items\x18\x0f \x01(\x03H\x0eR\x08maxItems\x88\x01\x01\x12&\n\x0cunique_items\x18\x10 \x01(\x08H\x0fR\x0buniqueItems\x88\x01\x01\x12*\n\x0emin_properties\x18\x11 \x01(\x03H\x10R\rminProperties\x88\x01\x01\x12*\n\x0emax_properties\x18\x12 \x01(\x03H\x11R\rmaxProperties\x88\x01\x01\x42\x08\n\x06_titleB\x0e\n\x0c_descriptionB\t\n\x07_ignoreB\n\n\x08_patternB\t\n\x07_formatB\x13\n\x11_content_encodingB\x15\n\x13_content_media_typeB\r\n\x0b_min_lengthB\r\n\x0b_max_lengthB\n\n\x08_minimumB\n\n\x08_maximumB\x14\n\x12_exclusive_minimumB\x14\n\x12_exclusive_maximumB\x0c\n\n_min_itemsB\x0c\n\n_max_itemsB\x0f\n\r_unique_itemsB\x11\n\x0f_min_propertiesB\x11\n\x0f_max_properties:T\n\x04\x66ile\x12\x1c.google.protobuf.FileOptions\x18\xe9\x07 \x01(\x0b\x32!.alis.open.options.v1.FileOptionsR\x04\x66ile:`\n\x07message\x12\x1f.google.protobuf.MessageOptions\x18\xe9\x07 \x01(\x0b\x32$.alis.open.options.v1.MessageOptionsR\x07message:X\n\x05\x66ield\x12\x1d.google.protobuf.FieldOptions\x18\xe9\x07 \x01(\x0b\x32\".alis.open.options.v1.FieldOptionsR\x05\x66ieldB(Z&go.alis.build/common/alis/open/optionsb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'alis.open.options.v1.options_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z&go.alis.build/common/alis/open/options'
|
|
36
|
+
_globals['_FILEOPTIONS']._serialized_start=95
|
|
37
|
+
_globals['_FILEOPTIONS']._serialized_end=229
|
|
38
|
+
_globals['_FILEOPTIONS_JSONSCHEMA']._serialized_start=189
|
|
39
|
+
_globals['_FILEOPTIONS_JSONSCHEMA']._serialized_end=229
|
|
40
|
+
_globals['_MESSAGEOPTIONS']._serialized_start=232
|
|
41
|
+
_globals['_MESSAGEOPTIONS']._serialized_end=372
|
|
42
|
+
_globals['_MESSAGEOPTIONS_JSONSCHEMA']._serialized_start=189
|
|
43
|
+
_globals['_MESSAGEOPTIONS_JSONSCHEMA']._serialized_end=229
|
|
44
|
+
_globals['_FIELDOPTIONS']._serialized_start=375
|
|
45
|
+
_globals['_FIELDOPTIONS']._serialized_end=1453
|
|
46
|
+
_globals['_FIELDOPTIONS_JSONSCHEMA']._serialized_start=472
|
|
47
|
+
_globals['_FIELDOPTIONS_JSONSCHEMA']._serialized_end=1453
|
|
48
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pb2 as _descriptor_pb2
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from google.protobuf.internal import extension_dict as _extension_dict
|
|
10
|
+
import builtins as _builtins
|
|
11
|
+
import sys
|
|
12
|
+
import typing as _typing
|
|
13
|
+
|
|
14
|
+
if sys.version_info >= (3, 11):
|
|
15
|
+
from typing import TypeAlias as _TypeAlias, Never as _Never
|
|
16
|
+
else:
|
|
17
|
+
from typing_extensions import TypeAlias as _TypeAlias, Never as _Never
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
20
|
+
|
|
21
|
+
@_typing.final
|
|
22
|
+
class FileOptions(_message.Message):
|
|
23
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
24
|
+
|
|
25
|
+
@_typing.final
|
|
26
|
+
class JsonSchema(_message.Message):
|
|
27
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
28
|
+
|
|
29
|
+
GENERATE_FIELD_NUMBER: _builtins.int
|
|
30
|
+
generate: _builtins.bool
|
|
31
|
+
def __init__(
|
|
32
|
+
self,
|
|
33
|
+
*,
|
|
34
|
+
generate: _builtins.bool = ...,
|
|
35
|
+
) -> None: ...
|
|
36
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
37
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
38
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["generate", b"generate"] # noqa: Y015
|
|
39
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
40
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
41
|
+
|
|
42
|
+
JSON_SCHEMA_FIELD_NUMBER: _builtins.int
|
|
43
|
+
@_builtins.property
|
|
44
|
+
def json_schema(self) -> Global___FileOptions.JsonSchema: ...
|
|
45
|
+
def __init__(
|
|
46
|
+
self,
|
|
47
|
+
*,
|
|
48
|
+
json_schema: Global___FileOptions.JsonSchema | None = ...,
|
|
49
|
+
) -> None: ...
|
|
50
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["json_schema", b"json_schema"] # noqa: Y015
|
|
51
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
52
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["json_schema", b"json_schema"] # noqa: Y015
|
|
53
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
54
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
55
|
+
|
|
56
|
+
Global___FileOptions: _TypeAlias = FileOptions # noqa: Y015
|
|
57
|
+
|
|
58
|
+
@_typing.final
|
|
59
|
+
class MessageOptions(_message.Message):
|
|
60
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
61
|
+
|
|
62
|
+
@_typing.final
|
|
63
|
+
class JsonSchema(_message.Message):
|
|
64
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
65
|
+
|
|
66
|
+
GENERATE_FIELD_NUMBER: _builtins.int
|
|
67
|
+
generate: _builtins.bool
|
|
68
|
+
def __init__(
|
|
69
|
+
self,
|
|
70
|
+
*,
|
|
71
|
+
generate: _builtins.bool = ...,
|
|
72
|
+
) -> None: ...
|
|
73
|
+
_HasFieldArgType: _TypeAlias = _Never # noqa: Y015
|
|
74
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
75
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["generate", b"generate"] # noqa: Y015
|
|
76
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
77
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
78
|
+
|
|
79
|
+
JSON_SCHEMA_FIELD_NUMBER: _builtins.int
|
|
80
|
+
@_builtins.property
|
|
81
|
+
def json_schema(self) -> Global___MessageOptions.JsonSchema: ...
|
|
82
|
+
def __init__(
|
|
83
|
+
self,
|
|
84
|
+
*,
|
|
85
|
+
json_schema: Global___MessageOptions.JsonSchema | None = ...,
|
|
86
|
+
) -> None: ...
|
|
87
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["json_schema", b"json_schema"] # noqa: Y015
|
|
88
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
89
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["json_schema", b"json_schema"] # noqa: Y015
|
|
90
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
91
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
92
|
+
|
|
93
|
+
Global___MessageOptions: _TypeAlias = MessageOptions # noqa: Y015
|
|
94
|
+
|
|
95
|
+
@_typing.final
|
|
96
|
+
class FieldOptions(_message.Message):
|
|
97
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
98
|
+
|
|
99
|
+
@_typing.final
|
|
100
|
+
class JsonSchema(_message.Message):
|
|
101
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
102
|
+
|
|
103
|
+
TITLE_FIELD_NUMBER: _builtins.int
|
|
104
|
+
DESCRIPTION_FIELD_NUMBER: _builtins.int
|
|
105
|
+
IGNORE_FIELD_NUMBER: _builtins.int
|
|
106
|
+
PATTERN_FIELD_NUMBER: _builtins.int
|
|
107
|
+
FORMAT_FIELD_NUMBER: _builtins.int
|
|
108
|
+
CONTENT_ENCODING_FIELD_NUMBER: _builtins.int
|
|
109
|
+
CONTENT_MEDIA_TYPE_FIELD_NUMBER: _builtins.int
|
|
110
|
+
MIN_LENGTH_FIELD_NUMBER: _builtins.int
|
|
111
|
+
MAX_LENGTH_FIELD_NUMBER: _builtins.int
|
|
112
|
+
MINIMUM_FIELD_NUMBER: _builtins.int
|
|
113
|
+
MAXIMUM_FIELD_NUMBER: _builtins.int
|
|
114
|
+
EXCLUSIVE_MINIMUM_FIELD_NUMBER: _builtins.int
|
|
115
|
+
EXCLUSIVE_MAXIMUM_FIELD_NUMBER: _builtins.int
|
|
116
|
+
MIN_ITEMS_FIELD_NUMBER: _builtins.int
|
|
117
|
+
MAX_ITEMS_FIELD_NUMBER: _builtins.int
|
|
118
|
+
UNIQUE_ITEMS_FIELD_NUMBER: _builtins.int
|
|
119
|
+
MIN_PROPERTIES_FIELD_NUMBER: _builtins.int
|
|
120
|
+
MAX_PROPERTIES_FIELD_NUMBER: _builtins.int
|
|
121
|
+
title: _builtins.str
|
|
122
|
+
description: _builtins.str
|
|
123
|
+
ignore: _builtins.bool
|
|
124
|
+
pattern: _builtins.str
|
|
125
|
+
format: _builtins.str
|
|
126
|
+
content_encoding: _builtins.str
|
|
127
|
+
content_media_type: _builtins.str
|
|
128
|
+
min_length: _builtins.int
|
|
129
|
+
max_length: _builtins.int
|
|
130
|
+
minimum: _builtins.float
|
|
131
|
+
maximum: _builtins.float
|
|
132
|
+
exclusive_minimum: _builtins.bool
|
|
133
|
+
exclusive_maximum: _builtins.bool
|
|
134
|
+
min_items: _builtins.int
|
|
135
|
+
max_items: _builtins.int
|
|
136
|
+
unique_items: _builtins.bool
|
|
137
|
+
min_properties: _builtins.int
|
|
138
|
+
max_properties: _builtins.int
|
|
139
|
+
def __init__(
|
|
140
|
+
self,
|
|
141
|
+
*,
|
|
142
|
+
title: _builtins.str | None = ...,
|
|
143
|
+
description: _builtins.str | None = ...,
|
|
144
|
+
ignore: _builtins.bool | None = ...,
|
|
145
|
+
pattern: _builtins.str | None = ...,
|
|
146
|
+
format: _builtins.str | None = ...,
|
|
147
|
+
content_encoding: _builtins.str | None = ...,
|
|
148
|
+
content_media_type: _builtins.str | None = ...,
|
|
149
|
+
min_length: _builtins.int | None = ...,
|
|
150
|
+
max_length: _builtins.int | None = ...,
|
|
151
|
+
minimum: _builtins.float | None = ...,
|
|
152
|
+
maximum: _builtins.float | None = ...,
|
|
153
|
+
exclusive_minimum: _builtins.bool | None = ...,
|
|
154
|
+
exclusive_maximum: _builtins.bool | None = ...,
|
|
155
|
+
min_items: _builtins.int | None = ...,
|
|
156
|
+
max_items: _builtins.int | None = ...,
|
|
157
|
+
unique_items: _builtins.bool | None = ...,
|
|
158
|
+
min_properties: _builtins.int | None = ...,
|
|
159
|
+
max_properties: _builtins.int | None = ...,
|
|
160
|
+
) -> None: ...
|
|
161
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_content_encoding", b"_content_encoding", "_content_media_type", b"_content_media_type", "_description", b"_description", "_exclusive_maximum", b"_exclusive_maximum", "_exclusive_minimum", b"_exclusive_minimum", "_format", b"_format", "_ignore", b"_ignore", "_max_items", b"_max_items", "_max_length", b"_max_length", "_max_properties", b"_max_properties", "_maximum", b"_maximum", "_min_items", b"_min_items", "_min_length", b"_min_length", "_min_properties", b"_min_properties", "_minimum", b"_minimum", "_pattern", b"_pattern", "_title", b"_title", "_unique_items", b"_unique_items", "content_encoding", b"content_encoding", "content_media_type", b"content_media_type", "description", b"description", "exclusive_maximum", b"exclusive_maximum", "exclusive_minimum", b"exclusive_minimum", "format", b"format", "ignore", b"ignore", "max_items", b"max_items", "max_length", b"max_length", "max_properties", b"max_properties", "maximum", b"maximum", "min_items", b"min_items", "min_length", b"min_length", "min_properties", b"min_properties", "minimum", b"minimum", "pattern", b"pattern", "title", b"title", "unique_items", b"unique_items"] # noqa: Y015
|
|
162
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
163
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_content_encoding", b"_content_encoding", "_content_media_type", b"_content_media_type", "_description", b"_description", "_exclusive_maximum", b"_exclusive_maximum", "_exclusive_minimum", b"_exclusive_minimum", "_format", b"_format", "_ignore", b"_ignore", "_max_items", b"_max_items", "_max_length", b"_max_length", "_max_properties", b"_max_properties", "_maximum", b"_maximum", "_min_items", b"_min_items", "_min_length", b"_min_length", "_min_properties", b"_min_properties", "_minimum", b"_minimum", "_pattern", b"_pattern", "_title", b"_title", "_unique_items", b"_unique_items", "content_encoding", b"content_encoding", "content_media_type", b"content_media_type", "description", b"description", "exclusive_maximum", b"exclusive_maximum", "exclusive_minimum", b"exclusive_minimum", "format", b"format", "ignore", b"ignore", "max_items", b"max_items", "max_length", b"max_length", "max_properties", b"max_properties", "maximum", b"maximum", "min_items", b"min_items", "min_length", b"min_length", "min_properties", b"min_properties", "minimum", b"minimum", "pattern", b"pattern", "title", b"title", "unique_items", b"unique_items"] # noqa: Y015
|
|
164
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
165
|
+
_WhichOneofReturnType__content_encoding: _TypeAlias = _typing.Literal["content_encoding"] # noqa: Y015
|
|
166
|
+
_WhichOneofArgType__content_encoding: _TypeAlias = _typing.Literal["_content_encoding", b"_content_encoding"] # noqa: Y015
|
|
167
|
+
_WhichOneofReturnType__content_media_type: _TypeAlias = _typing.Literal["content_media_type"] # noqa: Y015
|
|
168
|
+
_WhichOneofArgType__content_media_type: _TypeAlias = _typing.Literal["_content_media_type", b"_content_media_type"] # noqa: Y015
|
|
169
|
+
_WhichOneofReturnType__description: _TypeAlias = _typing.Literal["description"] # noqa: Y015
|
|
170
|
+
_WhichOneofArgType__description: _TypeAlias = _typing.Literal["_description", b"_description"] # noqa: Y015
|
|
171
|
+
_WhichOneofReturnType__exclusive_maximum: _TypeAlias = _typing.Literal["exclusive_maximum"] # noqa: Y015
|
|
172
|
+
_WhichOneofArgType__exclusive_maximum: _TypeAlias = _typing.Literal["_exclusive_maximum", b"_exclusive_maximum"] # noqa: Y015
|
|
173
|
+
_WhichOneofReturnType__exclusive_minimum: _TypeAlias = _typing.Literal["exclusive_minimum"] # noqa: Y015
|
|
174
|
+
_WhichOneofArgType__exclusive_minimum: _TypeAlias = _typing.Literal["_exclusive_minimum", b"_exclusive_minimum"] # noqa: Y015
|
|
175
|
+
_WhichOneofReturnType__format: _TypeAlias = _typing.Literal["format"] # noqa: Y015
|
|
176
|
+
_WhichOneofArgType__format: _TypeAlias = _typing.Literal["_format", b"_format"] # noqa: Y015
|
|
177
|
+
_WhichOneofReturnType__ignore: _TypeAlias = _typing.Literal["ignore"] # noqa: Y015
|
|
178
|
+
_WhichOneofArgType__ignore: _TypeAlias = _typing.Literal["_ignore", b"_ignore"] # noqa: Y015
|
|
179
|
+
_WhichOneofReturnType__max_items: _TypeAlias = _typing.Literal["max_items"] # noqa: Y015
|
|
180
|
+
_WhichOneofArgType__max_items: _TypeAlias = _typing.Literal["_max_items", b"_max_items"] # noqa: Y015
|
|
181
|
+
_WhichOneofReturnType__max_length: _TypeAlias = _typing.Literal["max_length"] # noqa: Y015
|
|
182
|
+
_WhichOneofArgType__max_length: _TypeAlias = _typing.Literal["_max_length", b"_max_length"] # noqa: Y015
|
|
183
|
+
_WhichOneofReturnType__max_properties: _TypeAlias = _typing.Literal["max_properties"] # noqa: Y015
|
|
184
|
+
_WhichOneofArgType__max_properties: _TypeAlias = _typing.Literal["_max_properties", b"_max_properties"] # noqa: Y015
|
|
185
|
+
_WhichOneofReturnType__maximum: _TypeAlias = _typing.Literal["maximum"] # noqa: Y015
|
|
186
|
+
_WhichOneofArgType__maximum: _TypeAlias = _typing.Literal["_maximum", b"_maximum"] # noqa: Y015
|
|
187
|
+
_WhichOneofReturnType__min_items: _TypeAlias = _typing.Literal["min_items"] # noqa: Y015
|
|
188
|
+
_WhichOneofArgType__min_items: _TypeAlias = _typing.Literal["_min_items", b"_min_items"] # noqa: Y015
|
|
189
|
+
_WhichOneofReturnType__min_length: _TypeAlias = _typing.Literal["min_length"] # noqa: Y015
|
|
190
|
+
_WhichOneofArgType__min_length: _TypeAlias = _typing.Literal["_min_length", b"_min_length"] # noqa: Y015
|
|
191
|
+
_WhichOneofReturnType__min_properties: _TypeAlias = _typing.Literal["min_properties"] # noqa: Y015
|
|
192
|
+
_WhichOneofArgType__min_properties: _TypeAlias = _typing.Literal["_min_properties", b"_min_properties"] # noqa: Y015
|
|
193
|
+
_WhichOneofReturnType__minimum: _TypeAlias = _typing.Literal["minimum"] # noqa: Y015
|
|
194
|
+
_WhichOneofArgType__minimum: _TypeAlias = _typing.Literal["_minimum", b"_minimum"] # noqa: Y015
|
|
195
|
+
_WhichOneofReturnType__pattern: _TypeAlias = _typing.Literal["pattern"] # noqa: Y015
|
|
196
|
+
_WhichOneofArgType__pattern: _TypeAlias = _typing.Literal["_pattern", b"_pattern"] # noqa: Y015
|
|
197
|
+
_WhichOneofReturnType__title: _TypeAlias = _typing.Literal["title"] # noqa: Y015
|
|
198
|
+
_WhichOneofArgType__title: _TypeAlias = _typing.Literal["_title", b"_title"] # noqa: Y015
|
|
199
|
+
_WhichOneofReturnType__unique_items: _TypeAlias = _typing.Literal["unique_items"] # noqa: Y015
|
|
200
|
+
_WhichOneofArgType__unique_items: _TypeAlias = _typing.Literal["_unique_items", b"_unique_items"] # noqa: Y015
|
|
201
|
+
@_typing.overload
|
|
202
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__content_encoding) -> _WhichOneofReturnType__content_encoding | None: ...
|
|
203
|
+
@_typing.overload
|
|
204
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__content_media_type) -> _WhichOneofReturnType__content_media_type | None: ...
|
|
205
|
+
@_typing.overload
|
|
206
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__description) -> _WhichOneofReturnType__description | None: ...
|
|
207
|
+
@_typing.overload
|
|
208
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__exclusive_maximum) -> _WhichOneofReturnType__exclusive_maximum | None: ...
|
|
209
|
+
@_typing.overload
|
|
210
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__exclusive_minimum) -> _WhichOneofReturnType__exclusive_minimum | None: ...
|
|
211
|
+
@_typing.overload
|
|
212
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__format) -> _WhichOneofReturnType__format | None: ...
|
|
213
|
+
@_typing.overload
|
|
214
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__ignore) -> _WhichOneofReturnType__ignore | None: ...
|
|
215
|
+
@_typing.overload
|
|
216
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__max_items) -> _WhichOneofReturnType__max_items | None: ...
|
|
217
|
+
@_typing.overload
|
|
218
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__max_length) -> _WhichOneofReturnType__max_length | None: ...
|
|
219
|
+
@_typing.overload
|
|
220
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__max_properties) -> _WhichOneofReturnType__max_properties | None: ...
|
|
221
|
+
@_typing.overload
|
|
222
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__maximum) -> _WhichOneofReturnType__maximum | None: ...
|
|
223
|
+
@_typing.overload
|
|
224
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__min_items) -> _WhichOneofReturnType__min_items | None: ...
|
|
225
|
+
@_typing.overload
|
|
226
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__min_length) -> _WhichOneofReturnType__min_length | None: ...
|
|
227
|
+
@_typing.overload
|
|
228
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__min_properties) -> _WhichOneofReturnType__min_properties | None: ...
|
|
229
|
+
@_typing.overload
|
|
230
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__minimum) -> _WhichOneofReturnType__minimum | None: ...
|
|
231
|
+
@_typing.overload
|
|
232
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__pattern) -> _WhichOneofReturnType__pattern | None: ...
|
|
233
|
+
@_typing.overload
|
|
234
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__title) -> _WhichOneofReturnType__title | None: ...
|
|
235
|
+
@_typing.overload
|
|
236
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__unique_items) -> _WhichOneofReturnType__unique_items | None: ...
|
|
237
|
+
|
|
238
|
+
JSON_SCHEMA_FIELD_NUMBER: _builtins.int
|
|
239
|
+
@_builtins.property
|
|
240
|
+
def json_schema(self) -> Global___FieldOptions.JsonSchema: ...
|
|
241
|
+
def __init__(
|
|
242
|
+
self,
|
|
243
|
+
*,
|
|
244
|
+
json_schema: Global___FieldOptions.JsonSchema | None = ...,
|
|
245
|
+
) -> None: ...
|
|
246
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["json_schema", b"json_schema"] # noqa: Y015
|
|
247
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
248
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["json_schema", b"json_schema"] # noqa: Y015
|
|
249
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
250
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
251
|
+
|
|
252
|
+
Global___FieldOptions: _TypeAlias = FieldOptions # noqa: Y015
|
|
253
|
+
|
|
254
|
+
FILE_FIELD_NUMBER: _builtins.int
|
|
255
|
+
MESSAGE_FIELD_NUMBER: _builtins.int
|
|
256
|
+
FIELD_FIELD_NUMBER: _builtins.int
|
|
257
|
+
file: _extension_dict._ExtensionFieldDescriptor[_descriptor_pb2.FileOptions, Global___FileOptions]
|
|
258
|
+
message: _extension_dict._ExtensionFieldDescriptor[_descriptor_pb2.MessageOptions, Global___MessageOptions]
|
|
259
|
+
field: _extension_dict._ExtensionFieldDescriptor[_descriptor_pb2.FieldOptions, Global___FieldOptions]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.81.1'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ ' but the generated code in alis/open/options/v1/options_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from grpc import aio as _aio
|
|
8
|
+
import abc as _abc_1
|
|
9
|
+
import grpc as _grpc
|
|
10
|
+
import typing as _typing
|
|
11
|
+
|
|
12
|
+
_T = _typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
18
|
+
|
|
19
|
+
GRPC_GENERATED_VERSION: str
|
|
20
|
+
GRPC_VERSION: str
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
setup.py
|
|
2
|
+
alis/__init__.py
|
|
3
|
+
alis/__init__.pyi
|
|
4
|
+
alis.open.options.v1.egg-info/PKG-INFO
|
|
5
|
+
alis.open.options.v1.egg-info/SOURCES.txt
|
|
6
|
+
alis.open.options.v1.egg-info/dependency_links.txt
|
|
7
|
+
alis.open.options.v1.egg-info/requires.txt
|
|
8
|
+
alis.open.options.v1.egg-info/top_level.txt
|
|
9
|
+
alis/open/__init__.py
|
|
10
|
+
alis/open/__init__.pyi
|
|
11
|
+
alis/open/options/__init__.py
|
|
12
|
+
alis/open/options/__init__.pyi
|
|
13
|
+
alis/open/options/v1/__init__.py
|
|
14
|
+
alis/open/options/v1/__init__.pyi
|
|
15
|
+
alis/open/options/v1/options_pb2.py
|
|
16
|
+
alis/open/options/v1/options_pb2.pyi
|
|
17
|
+
alis/open/options/v1/options_pb2_grpc.py
|
|
18
|
+
alis/open/options/v1/options_pb2_grpc.pyi
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
alis
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import setuptools
|
|
2
|
+
import os
|
|
3
|
+
import glob
|
|
4
|
+
|
|
5
|
+
def find_package_data(base, globs, root="alis_protobuf"):
|
|
6
|
+
"""Find all interesting data files, for setup(package_data=)
|
|
7
|
+
Arguments:
|
|
8
|
+
root: The directory to search in.
|
|
9
|
+
globs: A list of glob patterns to accept files.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
rv_dirs = [root for root, dirs, files in os.walk(base)]
|
|
13
|
+
rv = []
|
|
14
|
+
for rv_dir in rv_dirs:
|
|
15
|
+
files = []
|
|
16
|
+
for pat in globs:
|
|
17
|
+
files += glob.glob(os.path.join(rv_dir, pat))
|
|
18
|
+
if not files:
|
|
19
|
+
continue
|
|
20
|
+
rv.extend([os.path.relpath(f, root) for f in files])
|
|
21
|
+
return rv
|
|
22
|
+
|
|
23
|
+
package_data = find_package_data("alis_protobuf", ["*.py", "*.pyi"])
|
|
24
|
+
|
|
25
|
+
setuptools.setup(
|
|
26
|
+
name="alis.open.options.v1",
|
|
27
|
+
version="1.3.0",
|
|
28
|
+
description="Protobufs generated by Alis Build",
|
|
29
|
+
packages=setuptools.find_packages(),
|
|
30
|
+
include_package_data=True,
|
|
31
|
+
package_data={ # Optional
|
|
32
|
+
"alis_protobuf": package_data,
|
|
33
|
+
},
|
|
34
|
+
install_requires=[
|
|
35
|
+
'google-common-protos>=0.0.1',
|
|
36
|
+
'alis-services-protobuf-open>=1.176.0'
|
|
37
|
+
]
|
|
38
|
+
)
|