clarifai-grpc 11.10.2__py3-none-any.whl → 11.10.4__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.
- clarifai_grpc/__init__.py +1 -1
- clarifai_grpc/grpc/api/resources_pb2.py +578 -588
- clarifai_grpc/grpc/api/resources_pb2.pyi +24 -92
- clarifai_grpc/grpc/api/service_pb2.py +160 -156
- clarifai_grpc/grpc/api/service_pb2.pyi +46 -0
- clarifai_grpc/grpc/api/service_pb2_grpc.py +33 -0
- clarifai_grpc/grpc/api/status/status_code_pb2.pyi +6 -2
- {clarifai_grpc-11.10.2.dist-info → clarifai_grpc-11.10.4.dist-info}/METADATA +1 -1
- {clarifai_grpc-11.10.2.dist-info → clarifai_grpc-11.10.4.dist-info}/RECORD +12 -12
- {clarifai_grpc-11.10.2.dist-info → clarifai_grpc-11.10.4.dist-info}/WHEEL +0 -0
- {clarifai_grpc-11.10.2.dist-info → clarifai_grpc-11.10.4.dist-info}/licenses/LICENSE +0 -0
- {clarifai_grpc-11.10.2.dist-info → clarifai_grpc-11.10.4.dist-info}/top_level.txt +0 -0
|
@@ -15405,6 +15405,52 @@ class PostComputeClustersRequest(google.protobuf.message.Message):
|
|
|
15405
15405
|
|
|
15406
15406
|
global___PostComputeClustersRequest = PostComputeClustersRequest
|
|
15407
15407
|
|
|
15408
|
+
@typing_extensions.final
|
|
15409
|
+
class PatchComputeClustersRequest(google.protobuf.message.Message):
|
|
15410
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
15411
|
+
|
|
15412
|
+
USER_APP_ID_FIELD_NUMBER: builtins.int
|
|
15413
|
+
COMPUTE_CLUSTERS_FIELD_NUMBER: builtins.int
|
|
15414
|
+
ACTION_FIELD_NUMBER: builtins.int
|
|
15415
|
+
@property
|
|
15416
|
+
def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet:
|
|
15417
|
+
"""Only the user_id is used from this."""
|
|
15418
|
+
@property
|
|
15419
|
+
def compute_clusters(
|
|
15420
|
+
self,
|
|
15421
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
15422
|
+
proto.clarifai.api.resources_pb2.ComputeCluster
|
|
15423
|
+
]:
|
|
15424
|
+
"""This allows you to patch one or more compute_clusters"""
|
|
15425
|
+
action: builtins.str
|
|
15426
|
+
"""The action to perform on the patched objects
|
|
15427
|
+
For now 'overwrite' is supported
|
|
15428
|
+
"""
|
|
15429
|
+
def __init__(
|
|
15430
|
+
self,
|
|
15431
|
+
*,
|
|
15432
|
+
user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
|
|
15433
|
+
compute_clusters: collections.abc.Iterable[proto.clarifai.api.resources_pb2.ComputeCluster]
|
|
15434
|
+
| None = ...,
|
|
15435
|
+
action: builtins.str = ...,
|
|
15436
|
+
) -> None: ...
|
|
15437
|
+
def HasField(
|
|
15438
|
+
self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
|
|
15439
|
+
) -> builtins.bool: ...
|
|
15440
|
+
def ClearField(
|
|
15441
|
+
self,
|
|
15442
|
+
field_name: typing_extensions.Literal[
|
|
15443
|
+
"action",
|
|
15444
|
+
b"action",
|
|
15445
|
+
"compute_clusters",
|
|
15446
|
+
b"compute_clusters",
|
|
15447
|
+
"user_app_id",
|
|
15448
|
+
b"user_app_id",
|
|
15449
|
+
],
|
|
15450
|
+
) -> None: ...
|
|
15451
|
+
|
|
15452
|
+
global___PatchComputeClustersRequest = PatchComputeClustersRequest
|
|
15453
|
+
|
|
15408
15454
|
@typing_extensions.final
|
|
15409
15455
|
class DeleteComputeClustersRequest(google.protobuf.message.Message):
|
|
15410
15456
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -1204,6 +1204,11 @@ class V2Stub(object):
|
|
|
1204
1204
|
request_serializer=proto_dot_clarifai_dot_api_dot_service__pb2.DeleteComputeClustersRequest.SerializeToString,
|
|
1205
1205
|
response_deserializer=wrap_response_deserializer(proto_dot_clarifai_dot_api_dot_status_dot_status__pb2.BaseResponse),
|
|
1206
1206
|
)
|
|
1207
|
+
self.PatchComputeClusters = channel.unary_unary(
|
|
1208
|
+
'/clarifai.api.V2/PatchComputeClusters',
|
|
1209
|
+
request_serializer=proto_dot_clarifai_dot_api_dot_service__pb2.PatchComputeClustersRequest.SerializeToString,
|
|
1210
|
+
response_deserializer=wrap_response_deserializer(proto_dot_clarifai_dot_api_dot_service__pb2.MultiComputeClusterResponse),
|
|
1211
|
+
)
|
|
1207
1212
|
self.GetNodepool = channel.unary_unary(
|
|
1208
1213
|
'/clarifai.api.V2/GetNodepool',
|
|
1209
1214
|
request_serializer=proto_dot_clarifai_dot_api_dot_service__pb2.GetNodepoolRequest.SerializeToString,
|
|
@@ -3242,6 +3247,12 @@ class V2Servicer(object):
|
|
|
3242
3247
|
context.set_details('Method not implemented!')
|
|
3243
3248
|
raise NotImplementedError('Method not implemented!')
|
|
3244
3249
|
|
|
3250
|
+
def PatchComputeClusters(self, request, context):
|
|
3251
|
+
"""Missing associated documentation comment in .proto file."""
|
|
3252
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
3253
|
+
context.set_details('Method not implemented!')
|
|
3254
|
+
raise NotImplementedError('Method not implemented!')
|
|
3255
|
+
|
|
3245
3256
|
def GetNodepool(self, request, context):
|
|
3246
3257
|
"""Nodepools CRUD
|
|
3247
3258
|
"""
|
|
@@ -4708,6 +4719,11 @@ def add_V2Servicer_to_server(servicer, server):
|
|
|
4708
4719
|
request_deserializer=proto_dot_clarifai_dot_api_dot_service__pb2.DeleteComputeClustersRequest.FromString,
|
|
4709
4720
|
response_serializer=proto_dot_clarifai_dot_api_dot_status_dot_status__pb2.BaseResponse.SerializeToString,
|
|
4710
4721
|
),
|
|
4722
|
+
'PatchComputeClusters': grpc.unary_unary_rpc_method_handler(
|
|
4723
|
+
servicer.PatchComputeClusters,
|
|
4724
|
+
request_deserializer=proto_dot_clarifai_dot_api_dot_service__pb2.PatchComputeClustersRequest.FromString,
|
|
4725
|
+
response_serializer=proto_dot_clarifai_dot_api_dot_service__pb2.MultiComputeClusterResponse.SerializeToString,
|
|
4726
|
+
),
|
|
4711
4727
|
'GetNodepool': grpc.unary_unary_rpc_method_handler(
|
|
4712
4728
|
servicer.GetNodepool,
|
|
4713
4729
|
request_deserializer=proto_dot_clarifai_dot_api_dot_service__pb2.GetNodepoolRequest.FromString,
|
|
@@ -8949,6 +8965,23 @@ class V2(object):
|
|
|
8949
8965
|
options, channel_credentials,
|
|
8950
8966
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
8951
8967
|
|
|
8968
|
+
@staticmethod
|
|
8969
|
+
def PatchComputeClusters(request,
|
|
8970
|
+
target,
|
|
8971
|
+
options=(),
|
|
8972
|
+
channel_credentials=None,
|
|
8973
|
+
call_credentials=None,
|
|
8974
|
+
insecure=False,
|
|
8975
|
+
compression=None,
|
|
8976
|
+
wait_for_ready=None,
|
|
8977
|
+
timeout=None,
|
|
8978
|
+
metadata=None):
|
|
8979
|
+
return grpc.experimental.unary_unary(request, target, '/clarifai.api.V2/PatchComputeClusters',
|
|
8980
|
+
proto_dot_clarifai_dot_api_dot_service__pb2.PatchComputeClustersRequest.SerializeToString,
|
|
8981
|
+
proto_dot_clarifai_dot_api_dot_service__pb2.MultiComputeClusterResponse.FromString,
|
|
8982
|
+
options, channel_credentials,
|
|
8983
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
8984
|
+
|
|
8952
8985
|
@staticmethod
|
|
8953
8986
|
def GetNodepool(request,
|
|
8954
8987
|
target,
|
|
@@ -509,7 +509,9 @@ class _StatusCodeEnumTypeWrapper(
|
|
|
509
509
|
LABEL_ORDER_SUCCESS: _StatusCode.ValueType # 55003
|
|
510
510
|
LABEL_ORDER_CANCELED: _StatusCode.ValueType # 55004
|
|
511
511
|
LICENSE_ACTIVE: _StatusCode.ValueType # 60000
|
|
512
|
-
"""License Related Status Code 600xx
|
|
512
|
+
"""License Related Status Code 600xx
|
|
513
|
+
DEPRECATED: License feature is fully deprecated now.
|
|
514
|
+
"""
|
|
513
515
|
LICENSE_DOES_NOT_EXIST: _StatusCode.ValueType # 60001
|
|
514
516
|
LICENSE_NEED_UPDATE: _StatusCode.ValueType # 60002
|
|
515
517
|
LICENSE_EXPIRED: _StatusCode.ValueType # 60003
|
|
@@ -1101,7 +1103,9 @@ LABEL_ORDER_IN_PROGRESS: StatusCode.ValueType # 55002
|
|
|
1101
1103
|
LABEL_ORDER_SUCCESS: StatusCode.ValueType # 55003
|
|
1102
1104
|
LABEL_ORDER_CANCELED: StatusCode.ValueType # 55004
|
|
1103
1105
|
LICENSE_ACTIVE: StatusCode.ValueType # 60000
|
|
1104
|
-
"""License Related Status Code 600xx
|
|
1106
|
+
"""License Related Status Code 600xx
|
|
1107
|
+
DEPRECATED: License feature is fully deprecated now.
|
|
1108
|
+
"""
|
|
1105
1109
|
LICENSE_DOES_NOT_EXIST: StatusCode.ValueType # 60001
|
|
1106
1110
|
LICENSE_NEED_UPDATE: StatusCode.ValueType # 60002
|
|
1107
1111
|
LICENSE_EXPIRED: StatusCode.ValueType # 60003
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
clarifai_grpc/__init__.py,sha256=
|
|
1
|
+
clarifai_grpc/__init__.py,sha256=oWOrCFcGtdtqZ7lPp7r_VhzMr_BDEjDo_2Eg_k9pYiw,1441
|
|
2
2
|
clarifai_grpc/channel/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
clarifai_grpc/channel/clarifai_channel.py,sha256=fGqFlagWzKhRny-RAxbKlXT9_k9HohPs9yCKmkkQZ5c,5770
|
|
4
4
|
clarifai_grpc/channel/errors.py,sha256=VUoLZLLcIfI2nOGlz1dzbOKQJhGodOO98pSSjlsRD6s,183
|
|
@@ -10,15 +10,15 @@ clarifai_grpc/channel/custom_converters/custom_dict_to_message.py,sha256=aAOjcIG
|
|
|
10
10
|
clarifai_grpc/channel/custom_converters/custom_message_to_dict.py,sha256=w-GeM4wYO5WcmjDjykw2wbXVpfy-A0_mkO9-3bPW4FE,3699
|
|
11
11
|
clarifai_grpc/grpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
clarifai_grpc/grpc/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
-
clarifai_grpc/grpc/api/resources_pb2.py,sha256=
|
|
14
|
-
clarifai_grpc/grpc/api/resources_pb2.pyi,sha256=
|
|
13
|
+
clarifai_grpc/grpc/api/resources_pb2.py,sha256=QNFY61JSFQifC9OqD-4MxCs8WhLlcwYZJEQcWt6wtHE,158628
|
|
14
|
+
clarifai_grpc/grpc/api/resources_pb2.pyi,sha256=aFL9hEfDZu1pE3N5jDv8hjourBpT9POS5HYApY6Hi2Y,655979
|
|
15
15
|
clarifai_grpc/grpc/api/resources_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
16
|
-
clarifai_grpc/grpc/api/service_pb2.py,sha256=
|
|
17
|
-
clarifai_grpc/grpc/api/service_pb2.pyi,sha256=
|
|
18
|
-
clarifai_grpc/grpc/api/service_pb2_grpc.py,sha256=
|
|
16
|
+
clarifai_grpc/grpc/api/service_pb2.py,sha256=Hh7-fd9_gCQNy59NLI1dNtSaDbfbuOdHo71-Z6OXFxk,348340
|
|
17
|
+
clarifai_grpc/grpc/api/service_pb2.pyi,sha256=0CyEcJzpJ63TWjvMRTocLXEZfOUhJPeBAL0cGr2Dv-Q,643799
|
|
18
|
+
clarifai_grpc/grpc/api/service_pb2_grpc.py,sha256=HHsaS9HkwevisJUoWTdaJzmlS9YfL_nZzFMdK4pcbDE,521648
|
|
19
19
|
clarifai_grpc/grpc/api/status/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
20
20
|
clarifai_grpc/grpc/api/status/status_code_pb2.py,sha256=kZDMaRt8egpCvMFiYI3qgQw-N4J7OTX14WIC57LJ3Wo,26113
|
|
21
|
-
clarifai_grpc/grpc/api/status/status_code_pb2.pyi,sha256=
|
|
21
|
+
clarifai_grpc/grpc/api/status/status_code_pb2.pyi,sha256=xnbK_yfLkGatzd4wg358-x7ghvD-WvLZDQ8bTbnism0,65530
|
|
22
22
|
clarifai_grpc/grpc/api/status/status_code_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
23
23
|
clarifai_grpc/grpc/api/status/status_pb2.py,sha256=dfwA6ovKn4fmkin32wMeU3zt5m0l6Yoi_638vaHO13k,3027
|
|
24
24
|
clarifai_grpc/grpc/api/status/status_pb2.pyi,sha256=A0jP_QC-kXOuDuGOOf9WKtoI4d-2rmx1HlMFj8expnM,5730
|
|
@@ -46,8 +46,8 @@ clarifai_grpc/grpc/auth/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
|
|
|
46
46
|
clarifai_grpc/grpc/auth/util/extension_pb2.py,sha256=Fnx7qS6aB9HsjxzALVRrGZm_1RAvUnWN-ZG3P6_AurA,2612
|
|
47
47
|
clarifai_grpc/grpc/auth/util/extension_pb2.pyi,sha256=k4sOr3PHePx3u7zP2ZghKMLc_xF2O4E-vKYsQO1ZdSw,3288
|
|
48
48
|
clarifai_grpc/grpc/auth/util/extension_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
49
|
-
clarifai_grpc-11.10.
|
|
50
|
-
clarifai_grpc-11.10.
|
|
51
|
-
clarifai_grpc-11.10.
|
|
52
|
-
clarifai_grpc-11.10.
|
|
53
|
-
clarifai_grpc-11.10.
|
|
49
|
+
clarifai_grpc-11.10.4.dist-info/licenses/LICENSE,sha256=GuQZ4iPZUwh44duTbVr7ZzYp_SaJDLR9MvzU7YqlZXM,555
|
|
50
|
+
clarifai_grpc-11.10.4.dist-info/METADATA,sha256=iNhWE-GKIsslOhG4zkMb6WyqUVMsuwmifVvHF-PP_-E,4428
|
|
51
|
+
clarifai_grpc-11.10.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
52
|
+
clarifai_grpc-11.10.4.dist-info/top_level.txt,sha256=azOUiixWkDpdb3gn_YNgz8sbAfhNvZuC3_9qI7hNQac,14
|
|
53
|
+
clarifai_grpc-11.10.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|