Skip to content

Commit

Permalink
GRPC clients version 9.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
clarifai-prod committed Nov 9, 2023
1 parent 64ed972 commit c6b0e2e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.10.2
9.10.3
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 = "9.10.2"
CLIENT_VERSION = "9.10.3"
OS_VER = os.sys.platform
PYTHON_VERSION = ".".join(
map(
Expand Down
28 changes: 24 additions & 4 deletions clarifai_grpc/grpc/api/service_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,10 @@ class PatchAppsRequest(google.protobuf.message.Message):
def apps(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[proto.clarifai.api.resources_pb2.App]: ...
action: builtins.str
"""The action to perform on the patched App objects except App.Metadata
For now only action 'overwrite' is supported
Supported values: 'overwrite' and 'remove'.
Note that 'remove' can only be used to remove the app image by setting
'image.url' in the request to the current value returned for that app.
"""
@property
def metadata_action(self) -> proto.clarifai.api.resources_pb2.PatchAction:
Expand Down Expand Up @@ -700,7 +703,10 @@ class PatchAppRequest(google.protobuf.message.Message):
def app(self) -> proto.clarifai.api.resources_pb2.App: ...
action: builtins.str
"""The action to perform on the patched App object except App.Metadata
For now only action 'overwrite' is supported
Supported values: 'overwrite' and 'remove'.
Note that 'remove' can only be used to remove the app image by setting
'image.url' in the request to the current value returned for the app.
"""
@property
def metadata_action(self) -> proto.clarifai.api.resources_pb2.PatchAction:
Expand Down Expand Up @@ -2419,7 +2425,10 @@ class PatchDatasetsRequest(google.protobuf.message.Message):
"""List of datasets that are requested to be updated."""
action: builtins.str
"""The action to perform on the patched objects
Supported values: 'overwrite' and 'merge'
Supported values: 'overwrite', 'merge', and 'remove'.
Note that 'remove' can only be used to remove the dataset image by setting
'image.url' in the request to the current value returned for that dataset.
"""
def __init__(
self,
Expand Down Expand Up @@ -3837,6 +3846,10 @@ class PatchModelsRequest(google.protobuf.message.Message):
action: builtins.str
"""The action to perform on the patched objects
For now actions 'merge', 'overwrite', and 'remove' are supported
Note that 'remove' can be used to remove the model image by setting
'image.url' in the request to the current value returned for that model.
This cannot be used in a request that is patching other fields as well.
"""
def __init__(
self,
Expand Down Expand Up @@ -6312,6 +6325,10 @@ class PatchWorkflowsRequest(google.protobuf.message.Message):
action: builtins.str
"""The action to perform on the patched objects
For now actions 'merge', 'overwrite', and 'remove' are supported
Note that 'remove' can be used to remove the workflow image by setting
'image.url' in the request to the current value returned for that workflow.
This cannot be used in a request that is patching other fields as well.
"""
def __init__(
self,
Expand Down Expand Up @@ -7882,7 +7899,10 @@ class PatchModulesRequest(google.protobuf.message.Message):
def modules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[proto.clarifai.api.resources_pb2.Module]: ...
action: builtins.str
"""The action to perform on the patched objects
For now actions 'merge', 'overwrite', and 'remove' are supported
Supported values: 'overwrite' and 'remove'.
Note that 'remove' can only be used to remove the module image by setting
'image.url' in the request to the current value returned for that module.
"""
def __init__(
self,
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="9.10.2",
version="9.10.3",
author="Clarifai",
author_email="[email protected]",
description="Clarifai gRPC API Client",
Expand Down

0 comments on commit c6b0e2e

Please sign in to comment.