Skip to content

Commit

Permalink
Version 10.3.5 (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
YvetteZ2017 committed May 30, 2024
1 parent cdf4e49 commit 489e7aa
Show file tree
Hide file tree
Showing 12 changed files with 1,874 additions and 959 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.3.4
10.3.5
2 changes: 1 addition & 1 deletion clarifai_grpc/channel/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from clarifai_grpc.channel.errors import ApiError

CLIENT_VERSION = "10.3.4"
CLIENT_VERSION = "10.3.5"
OS_VER = os.sys.platform
PYTHON_VERSION = ".".join(
map(
Expand Down
882 changes: 445 additions & 437 deletions clarifai_grpc/grpc/api/resources_pb2.py

Large diffs are not rendered by default.

333 changes: 232 additions & 101 deletions clarifai_grpc/grpc/api/resources_pb2.pyi

Large diffs are not rendered by default.

856 changes: 452 additions & 404 deletions clarifai_grpc/grpc/api/service_pb2.py

Large diffs are not rendered by default.

373 changes: 363 additions & 10 deletions clarifai_grpc/grpc/api/service_pb2.pyi

Large diffs are not rendered by default.

319 changes: 319 additions & 0 deletions clarifai_grpc/grpc/api/service_pb2_grpc.py

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions clarifai_grpc/grpc/api/status/status_code_pb2.py

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions clarifai_grpc/grpc/api/status/status_code_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ class _StatusCodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._Enu
MODEL_UPLOADING_FAILED: _StatusCode.ValueType # 21105
MODEL_TRAINING_FAILED: _StatusCode.ValueType # 21106
"""generic err msg for any type of model training err."""
MODEL_BUILDING: _StatusCode.ValueType # 21107
"""For new V3 DockerInternalType models which are built images"""
MODEL_BUILDING_FAILED: _StatusCode.ValueType # 21108
"""Failed to build image for model."""
MODEL_BUILD_UNEXPECTED_ERROR: _StatusCode.ValueType # 21109
"""Failed to build image for model."""
MODEL_TRAINING_NO_DATA: _StatusCode.ValueType # 21110
"""Custom model training had no data. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg"""
MODEL_TRAINING_NO_POSITIVES: _StatusCode.ValueType # 21111
Expand Down Expand Up @@ -242,6 +248,14 @@ class _StatusCodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._Enu
RUNNER_STREAM_END: _StatusCode.ValueType # 25606
RUNNER_ITEM_CANCELLED: _StatusCode.ValueType # 25607
RUNNER_PROCESSING_FAILED: _StatusCode.ValueType # 25608
NODEPOOL_DOES_NOT_EXIST: _StatusCode.ValueType # 25700
"""Nodepool related codes 257xx"""
NODEPOOL_INVALID_ARGUMENT: _StatusCode.ValueType # 25701
NODEPOOL_INVALID_REQUEST: _StatusCode.ValueType # 25702
COMPUTE_CLUSTER_DOES_NOT_EXIST: _StatusCode.ValueType # 25800
"""ComputeCluster related codes 258xx"""
COMPUTE_CLUSTER_INVALID_ARGUMENT: _StatusCode.ValueType # 25801
COMPUTE_CLUSTER_INVALID_REQUEST: _StatusCode.ValueType # 25802
INPUT_DOWNLOAD_SUCCESS: _StatusCode.ValueType # 30000
"""Input:Image related 30xxx"""
INPUT_DOWNLOAD_PENDING: _StatusCode.ValueType # 30001
Expand Down Expand Up @@ -592,6 +606,12 @@ MODEL_UPLOADING: StatusCode.ValueType # 21104
MODEL_UPLOADING_FAILED: StatusCode.ValueType # 21105
MODEL_TRAINING_FAILED: StatusCode.ValueType # 21106
"""generic err msg for any type of model training err."""
MODEL_BUILDING: StatusCode.ValueType # 21107
"""For new V3 DockerInternalType models which are built images"""
MODEL_BUILDING_FAILED: StatusCode.ValueType # 21108
"""Failed to build image for model."""
MODEL_BUILD_UNEXPECTED_ERROR: StatusCode.ValueType # 21109
"""Failed to build image for model."""
MODEL_TRAINING_NO_DATA: StatusCode.ValueType # 21110
"""Custom model training had no data. FIXME(yang): deprecate this. Use the 21106 + errStatusMsg"""
MODEL_TRAINING_NO_POSITIVES: StatusCode.ValueType # 21111
Expand Down Expand Up @@ -751,6 +771,14 @@ RUNNER_STREAM_START: StatusCode.ValueType # 25605
RUNNER_STREAM_END: StatusCode.ValueType # 25606
RUNNER_ITEM_CANCELLED: StatusCode.ValueType # 25607
RUNNER_PROCESSING_FAILED: StatusCode.ValueType # 25608
NODEPOOL_DOES_NOT_EXIST: StatusCode.ValueType # 25700
"""Nodepool related codes 257xx"""
NODEPOOL_INVALID_ARGUMENT: StatusCode.ValueType # 25701
NODEPOOL_INVALID_REQUEST: StatusCode.ValueType # 25702
COMPUTE_CLUSTER_DOES_NOT_EXIST: StatusCode.ValueType # 25800
"""ComputeCluster related codes 258xx"""
COMPUTE_CLUSTER_INVALID_ARGUMENT: StatusCode.ValueType # 25801
COMPUTE_CLUSTER_INVALID_REQUEST: StatusCode.ValueType # 25802
INPUT_DOWNLOAD_SUCCESS: StatusCode.ValueType # 30000
"""Input:Image related 30xxx"""
INPUT_DOWNLOAD_PENDING: StatusCode.ValueType # 30001
Expand Down
16 changes: 14 additions & 2 deletions clarifai_grpc/grpc/auth/scope/scope_pb2.py

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions clarifai_grpc/grpc/auth/scope/scope_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,14 @@ class _SEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrap
Runners_Delete: _S.ValueType # 133
RunnerItems_Get: _S.ValueType # 134
RunnerItems_Add: _S.ValueType # 135
Nodepools_Get: _S.ValueType # 136
"""Pools of compute resources."""
Nodepools_Add: _S.ValueType # 137
Nodepools_Delete: _S.ValueType # 138
ComputeClusters_Get: _S.ValueType # 139
"""Cluster of machines in a region of cloud"""
ComputeClusters_Add: _S.ValueType # 140
ComputeClusters_Delete: _S.ValueType # 141

class S(_S, metaclass=_SEnumTypeWrapper):
"""Next index: 41
Expand Down Expand Up @@ -437,6 +445,14 @@ Runners_Add: S.ValueType # 132
Runners_Delete: S.ValueType # 133
RunnerItems_Get: S.ValueType # 134
RunnerItems_Add: S.ValueType # 135
Nodepools_Get: S.ValueType # 136
"""Pools of compute resources."""
Nodepools_Add: S.ValueType # 137
Nodepools_Delete: S.ValueType # 138
ComputeClusters_Get: S.ValueType # 139
"""Cluster of machines in a region of cloud"""
ComputeClusters_Add: S.ValueType # 140
ComputeClusters_Delete: S.ValueType # 141
global___S = S

@typing_extensions.final
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="clarifai-grpc",
version="10.3.4",
version="10.3.5",
author="Clarifai",
author_email="support@clarifai.com",
description="Clarifai gRPC API Client",
Expand Down

0 comments on commit 489e7aa

Please sign in to comment.