alis.open.operations.v1 1.4.0__py3-none-any.whl
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/__init__.py +1 -0
- alis/__init__.pyi +1 -0
- alis/open/__init__.py +1 -0
- alis/open/__init__.pyi +1 -0
- alis/open/operations/__init__.py +1 -0
- alis/open/operations/__init__.pyi +1 -0
- alis/open/operations/v1/__init__.py +7 -0
- alis/open/operations/v1/__init__.pyi +7 -0
- alis/open/operations/v1/operations_pb2.py +42 -0
- alis/open/operations/v1/operations_pb2.pyi +113 -0
- alis/open/operations/v1/operations_pb2_grpc.py +24 -0
- alis/open/operations/v1/operations_pb2_grpc.pyi +20 -0
- alis/open/operations/v1/py.typed +0 -0
- alis_open_operations_v1-1.4.0.dist-info/METADATA +23 -0
- alis_open_operations_v1-1.4.0.dist-info/RECORD +17 -0
- alis_open_operations_v1-1.4.0.dist-info/WHEEL +5 -0
- alis_open_operations_v1-1.4.0.dist-info/top_level.txt +1 -0
alis/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
alis/__init__.pyi
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
alis/open/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__import__("pkg_resources").declare_namespace(__name__)
|
alis/open/__init__.pyi
ADDED
|
@@ -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,42 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: alis/open/operations/v1/operations.proto
|
|
5
|
+
# Protobuf Python Version: 7.35.1
|
|
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
|
+
7,
|
|
15
|
+
35,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'alis/open/operations/v1/operations.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(alis/open/operations/v1/operations.proto\x12\x17\x61lis.open.operations.v1\x1a\x19google/protobuf/any.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xe8\x05\n\tOperation\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x30\n\x08metadata\x18\x02 \x01(\x0b\x32\x14.google.protobuf.AnyR\x08metadata\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12*\n\x05\x65rror\x18\x04 \x01(\x0b\x32\x12.google.rpc.StatusH\x00R\x05\x65rror\x12\x32\n\x08response\x18\x05 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00R\x08response\x12\x16\n\x06method\x18\x06 \x01(\tR\x06method\x12\x1e\n\ncheckpoint\x18\t \x01(\tR\ncheckpoint\x12%\n\x0einternal_state\x18\n \x01(\x0cR\rinternalState\x12M\n\ncloud_task\x18\x0b \x01(\x0b\x32,.alis.open.operations.v1.Operation.CloudTaskH\x01R\tcloudTask\x12;\n\x0b\x63reate_time\x18\x62 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x63 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x1a\xd8\x01\n\tCloudTask\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12?\n\rschedule_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0cscheduleTime\x12;\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12\x18\n\x07running\x18\x04 \x01(\x08R\x07running\x12\x1f\n\x0btarget_host\x18\x05 \x01(\tR\ntargetHostB\x08\n\x06resultB\x08\n\x06runnerJ\x04\x08\x07\x10\x08J\x04\x08\x08\x10\tB+Z)go.alis.build/common/alis/open/operationsb\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'alis.open.operations.v1.operations_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z)go.alis.build/common/alis/open/operations'
|
|
38
|
+
_globals['_OPERATION']._serialized_start=155
|
|
39
|
+
_globals['_OPERATION']._serialized_end=899
|
|
40
|
+
_globals['_OPERATION_CLOUDTASK']._serialized_start=651
|
|
41
|
+
_globals['_OPERATION_CLOUDTASK']._serialized_end=867
|
|
42
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from google.protobuf import any_pb2 as _any_pb2
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
10
|
+
from google.rpc import status_pb2 as _status_pb2
|
|
11
|
+
import builtins as _builtins
|
|
12
|
+
import sys
|
|
13
|
+
import typing as _typing
|
|
14
|
+
|
|
15
|
+
if sys.version_info >= (3, 11):
|
|
16
|
+
from typing import TypeAlias as _TypeAlias, Never as _Never
|
|
17
|
+
else:
|
|
18
|
+
from typing_extensions import TypeAlias as _TypeAlias, Never as _Never
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
21
|
+
|
|
22
|
+
@_typing.final
|
|
23
|
+
class Operation(_message.Message):
|
|
24
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
25
|
+
|
|
26
|
+
@_typing.final
|
|
27
|
+
class CloudTask(_message.Message):
|
|
28
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
29
|
+
|
|
30
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
31
|
+
SCHEDULE_TIME_FIELD_NUMBER: _builtins.int
|
|
32
|
+
CREATE_TIME_FIELD_NUMBER: _builtins.int
|
|
33
|
+
RUNNING_FIELD_NUMBER: _builtins.int
|
|
34
|
+
TARGET_HOST_FIELD_NUMBER: _builtins.int
|
|
35
|
+
name: _builtins.str
|
|
36
|
+
running: _builtins.bool
|
|
37
|
+
target_host: _builtins.str
|
|
38
|
+
@_builtins.property
|
|
39
|
+
def schedule_time(self) -> _timestamp_pb2.Timestamp: ...
|
|
40
|
+
@_builtins.property
|
|
41
|
+
def create_time(self) -> _timestamp_pb2.Timestamp: ...
|
|
42
|
+
def __init__(
|
|
43
|
+
self,
|
|
44
|
+
*,
|
|
45
|
+
name: _builtins.str = ...,
|
|
46
|
+
schedule_time: _timestamp_pb2.Timestamp | None = ...,
|
|
47
|
+
create_time: _timestamp_pb2.Timestamp | None = ...,
|
|
48
|
+
running: _builtins.bool = ...,
|
|
49
|
+
target_host: _builtins.str = ...,
|
|
50
|
+
) -> None: ...
|
|
51
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["create_time", b"create_time", "schedule_time", b"schedule_time"] # noqa: Y015
|
|
52
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
53
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["create_time", b"create_time", "name", b"name", "running", b"running", "schedule_time", b"schedule_time", "target_host", b"target_host"] # noqa: Y015
|
|
54
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
55
|
+
def WhichOneof(self, oneof_group: _Never) -> None: ...
|
|
56
|
+
|
|
57
|
+
NAME_FIELD_NUMBER: _builtins.int
|
|
58
|
+
METADATA_FIELD_NUMBER: _builtins.int
|
|
59
|
+
DONE_FIELD_NUMBER: _builtins.int
|
|
60
|
+
ERROR_FIELD_NUMBER: _builtins.int
|
|
61
|
+
RESPONSE_FIELD_NUMBER: _builtins.int
|
|
62
|
+
METHOD_FIELD_NUMBER: _builtins.int
|
|
63
|
+
CHECKPOINT_FIELD_NUMBER: _builtins.int
|
|
64
|
+
INTERNAL_STATE_FIELD_NUMBER: _builtins.int
|
|
65
|
+
CLOUD_TASK_FIELD_NUMBER: _builtins.int
|
|
66
|
+
CREATE_TIME_FIELD_NUMBER: _builtins.int
|
|
67
|
+
UPDATE_TIME_FIELD_NUMBER: _builtins.int
|
|
68
|
+
name: _builtins.str
|
|
69
|
+
done: _builtins.bool
|
|
70
|
+
method: _builtins.str
|
|
71
|
+
checkpoint: _builtins.str
|
|
72
|
+
internal_state: _builtins.bytes
|
|
73
|
+
@_builtins.property
|
|
74
|
+
def metadata(self) -> _any_pb2.Any: ...
|
|
75
|
+
@_builtins.property
|
|
76
|
+
def error(self) -> _status_pb2.Status: ...
|
|
77
|
+
@_builtins.property
|
|
78
|
+
def response(self) -> _any_pb2.Any: ...
|
|
79
|
+
@_builtins.property
|
|
80
|
+
def cloud_task(self) -> Global___Operation.CloudTask: ...
|
|
81
|
+
@_builtins.property
|
|
82
|
+
def create_time(self) -> _timestamp_pb2.Timestamp: ...
|
|
83
|
+
@_builtins.property
|
|
84
|
+
def update_time(self) -> _timestamp_pb2.Timestamp: ...
|
|
85
|
+
def __init__(
|
|
86
|
+
self,
|
|
87
|
+
*,
|
|
88
|
+
name: _builtins.str = ...,
|
|
89
|
+
metadata: _any_pb2.Any | None = ...,
|
|
90
|
+
done: _builtins.bool = ...,
|
|
91
|
+
error: _status_pb2.Status | None = ...,
|
|
92
|
+
response: _any_pb2.Any | None = ...,
|
|
93
|
+
method: _builtins.str = ...,
|
|
94
|
+
checkpoint: _builtins.str = ...,
|
|
95
|
+
internal_state: _builtins.bytes = ...,
|
|
96
|
+
cloud_task: Global___Operation.CloudTask | None = ...,
|
|
97
|
+
create_time: _timestamp_pb2.Timestamp | None = ...,
|
|
98
|
+
update_time: _timestamp_pb2.Timestamp | None = ...,
|
|
99
|
+
) -> None: ...
|
|
100
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["cloud_task", b"cloud_task", "create_time", b"create_time", "error", b"error", "metadata", b"metadata", "response", b"response", "result", b"result", "runner", b"runner", "update_time", b"update_time"] # noqa: Y015
|
|
101
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
102
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["checkpoint", b"checkpoint", "cloud_task", b"cloud_task", "create_time", b"create_time", "done", b"done", "error", b"error", "internal_state", b"internal_state", "metadata", b"metadata", "method", b"method", "name", b"name", "response", b"response", "result", b"result", "runner", b"runner", "update_time", b"update_time"] # noqa: Y015
|
|
103
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
104
|
+
_WhichOneofReturnType_result: _TypeAlias = _typing.Literal["error", "response"] # noqa: Y015
|
|
105
|
+
_WhichOneofArgType_result: _TypeAlias = _typing.Literal["result", b"result"] # noqa: Y015
|
|
106
|
+
_WhichOneofReturnType_runner: _TypeAlias = _typing.Literal["cloud_task"] # noqa: Y015
|
|
107
|
+
_WhichOneofArgType_runner: _TypeAlias = _typing.Literal["runner", b"runner"] # noqa: Y015
|
|
108
|
+
@_typing.overload
|
|
109
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType_result) -> _WhichOneofReturnType_result | None: ...
|
|
110
|
+
@_typing.overload
|
|
111
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType_runner) -> _WhichOneofReturnType_runner | None: ...
|
|
112
|
+
|
|
113
|
+
Global___Operation: _TypeAlias = Operation # noqa: Y015
|
|
@@ -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.83.0'
|
|
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/operations/v1/operations_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
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: alis.open.operations.v1
|
|
3
|
+
Version: 1.4.0
|
|
4
|
+
Summary: Python and gRPC stubs generated by Alis Build for alis.open.operations.v1
|
|
5
|
+
Author: Alis Build
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://alisx.com/build/
|
|
8
|
+
Keywords: alis-build,protobuf,grpc
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Requires-Dist: protobuf>=7.35.1
|
|
14
|
+
Requires-Dist: grpcio>=1.83.0
|
|
15
|
+
Requires-Dist: google.rpc
|
|
16
|
+
Dynamic: author
|
|
17
|
+
Dynamic: classifier
|
|
18
|
+
Dynamic: keywords
|
|
19
|
+
Dynamic: license
|
|
20
|
+
Dynamic: project-url
|
|
21
|
+
Dynamic: requires-dist
|
|
22
|
+
Dynamic: requires-python
|
|
23
|
+
Dynamic: summary
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
alis/__init__.py,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
2
|
+
alis/__init__.pyi,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
3
|
+
alis/open/__init__.py,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
4
|
+
alis/open/__init__.pyi,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
5
|
+
alis/open/operations/__init__.py,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
6
|
+
alis/open/operations/__init__.pyi,sha256=q3JNmHn0CMPtEqkMR40lkjKQzuWUtT39xIFUYJ-MKIE,56
|
|
7
|
+
alis/open/operations/v1/__init__.py,sha256=dTMzBDTDnigWtNdLkVvU8y0MT3GkkD5BdMcpNVdZqQo,168
|
|
8
|
+
alis/open/operations/v1/__init__.pyi,sha256=dTMzBDTDnigWtNdLkVvU8y0MT3GkkD5BdMcpNVdZqQo,168
|
|
9
|
+
alis/open/operations/v1/operations_pb2.py,sha256=pN1xLIBZbiWZ8Z3CQwBA8hU4XsGGTi_f5DZ5MVZ0ZKM,3147
|
|
10
|
+
alis/open/operations/v1/operations_pb2.pyi,sha256=Hd9wY6Tgfnwu-2Jb30t0Vs31zqvygKjJxkpyGgqZ0Hg,5354
|
|
11
|
+
alis/open/operations/v1/operations_pb2_grpc.py,sha256=oX6TexTWTGycCoee_8lZw4ADf7Bli-h2r6p64hiynWA,914
|
|
12
|
+
alis/open/operations/v1/operations_pb2_grpc.pyi,sha256=uC9Wnq6uyg488QiONpJ0ba1s_iouQCOYsjd_FDd1XUM,495
|
|
13
|
+
alis/open/operations/v1/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
+
alis_open_operations_v1-1.4.0.dist-info/METADATA,sha256=784tMooSu7IjmCDyWGARuXIqmbAHcFTl9pg5h2lHvhM,688
|
|
15
|
+
alis_open_operations_v1-1.4.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
16
|
+
alis_open_operations_v1-1.4.0.dist-info/top_level.txt,sha256=DpFM29O35T7hskkQvEAVzmzJ_WQpR9g1ST1CEUgUFJQ,5
|
|
17
|
+
alis_open_operations_v1-1.4.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
alis
|