Skip to content

Commit 76b14e0

Browse files
committed
GRPC clients version 11.10.4
1 parent b29afdc commit 76b14e0

File tree

5 files changed

+599
-636
lines changed

5 files changed

+599
-636
lines changed

clarifai_grpc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "11.10.3"
1+
__version__ = "11.10.4"
22

33
import os
44

clarifai_grpc/grpc/api/resources_pb2.py

Lines changed: 578 additions & 582 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clarifai_grpc/grpc/api/resources_pb2.pyi

Lines changed: 9 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -238,52 +238,6 @@ See https://cocodataset.org/#format-data.
238238
"""
239239
global___DatasetVersionExportFormat = DatasetVersionExportFormat
240240

241-
class _ExpirationAction:
242-
ValueType = typing.NewType("ValueType", builtins.int)
243-
V: typing_extensions.TypeAlias = ValueType
244-
245-
class _ExpirationActionEnumTypeWrapper(
246-
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ExpirationAction.ValueType],
247-
builtins.type,
248-
):
249-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
250-
EXPIRATION_ACTION_NOT_SET: _ExpirationAction.ValueType # 0
251-
DELAY: _ExpirationAction.ValueType # 1
252-
"""Progressively delay the execution of operations"""
253-
EXPIRY: _ExpirationAction.ValueType # 2
254-
"""Cease functioning"""
255-
256-
class ExpirationAction(_ExpirationAction, metaclass=_ExpirationActionEnumTypeWrapper): ...
257-
258-
EXPIRATION_ACTION_NOT_SET: ExpirationAction.ValueType # 0
259-
DELAY: ExpirationAction.ValueType # 1
260-
"""Progressively delay the execution of operations"""
261-
EXPIRY: ExpirationAction.ValueType # 2
262-
"""Cease functioning"""
263-
global___ExpirationAction = ExpirationAction
264-
265-
class _LicenseScope:
266-
ValueType = typing.NewType("ValueType", builtins.int)
267-
V: typing_extensions.TypeAlias = ValueType
268-
269-
class _LicenseScopeEnumTypeWrapper(
270-
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_LicenseScope.ValueType],
271-
builtins.type,
272-
):
273-
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
274-
LICENSE_SCOPE_NOT_SET: _LicenseScope.ValueType # 0
275-
PREDICT: _LicenseScope.ValueType # 1
276-
TRAIN: _LicenseScope.ValueType # 2
277-
SEARCH: _LicenseScope.ValueType # 3
278-
279-
class LicenseScope(_LicenseScope, metaclass=_LicenseScopeEnumTypeWrapper): ...
280-
281-
LICENSE_SCOPE_NOT_SET: LicenseScope.ValueType # 0
282-
PREDICT: LicenseScope.ValueType # 1
283-
TRAIN: LicenseScope.ValueType # 2
284-
SEARCH: LicenseScope.ValueType # 3
285-
global___LicenseScope = LicenseScope
286-
287241
class _LicenseType:
288242
ValueType = typing.NewType("ValueType", builtins.int)
289243
V: typing_extensions.TypeAlias = ValueType
@@ -2636,6 +2590,7 @@ class Data(google.protobuf.message.Message):
26362590
BYTES_VALUE_FIELD_NUMBER: builtins.int
26372591
BOOL_VALUE_FIELD_NUMBER: builtins.int
26382592
STRING_VALUE_FIELD_NUMBER: builtins.int
2593+
STRUCT_VALUE_FIELD_NUMBER: builtins.int
26392594
@property
26402595
def image(self) -> global___Image:
26412596
"""Input and output images."""
@@ -2728,6 +2683,9 @@ class Data(google.protobuf.message.Message):
27282683
"""Input and output bool data"""
27292684
string_value: builtins.str
27302685
"""Input and output string data"""
2686+
@property
2687+
def struct_value(self) -> google.protobuf.struct_pb2.Struct:
2688+
"""To handle Input and output json"""
27312689
def __init__(
27322690
self,
27332691
*,
@@ -2754,6 +2712,7 @@ class Data(google.protobuf.message.Message):
27542712
bytes_value: builtins.bytes = ...,
27552713
bool_value: builtins.bool = ...,
27562714
string_value: builtins.str = ...,
2715+
struct_value: google.protobuf.struct_pb2.Struct | None = ...,
27572716
) -> None: ...
27582717
def HasField(
27592718
self,
@@ -2768,6 +2727,8 @@ class Data(google.protobuf.message.Message):
27682727
b"metadata",
27692728
"ndarray",
27702729
b"ndarray",
2730+
"struct_value",
2731+
b"struct_value",
27712732
"text",
27722733
b"text",
27732734
"video",
@@ -2815,6 +2776,8 @@ class Data(google.protobuf.message.Message):
28152776
b"regions",
28162777
"string_value",
28172778
b"string_value",
2779+
"struct_value",
2780+
b"struct_value",
28182781
"text",
28192782
b"text",
28202783
"time_segments",

clarifai_grpc/grpc/api/service_pb2.py

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clarifai_grpc/grpc/api/status/status_code_pb2.pyi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,9 @@ class _StatusCodeEnumTypeWrapper(
509509
LABEL_ORDER_SUCCESS: _StatusCode.ValueType # 55003
510510
LABEL_ORDER_CANCELED: _StatusCode.ValueType # 55004
511511
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+
"""
513515
LICENSE_DOES_NOT_EXIST: _StatusCode.ValueType # 60001
514516
LICENSE_NEED_UPDATE: _StatusCode.ValueType # 60002
515517
LICENSE_EXPIRED: _StatusCode.ValueType # 60003
@@ -1101,7 +1103,9 @@ LABEL_ORDER_IN_PROGRESS: StatusCode.ValueType # 55002
11011103
LABEL_ORDER_SUCCESS: StatusCode.ValueType # 55003
11021104
LABEL_ORDER_CANCELED: StatusCode.ValueType # 55004
11031105
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+
"""
11051109
LICENSE_DOES_NOT_EXIST: StatusCode.ValueType # 60001
11061110
LICENSE_NEED_UPDATE: StatusCode.ValueType # 60002
11071111
LICENSE_EXPIRED: StatusCode.ValueType # 60003

0 commit comments

Comments
 (0)