clarifai-grpc 12.0.4__py3-none-any.whl → 12.0.5__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.
@@ -11300,8 +11300,11 @@ class PatchTasksRequest(google.protobuf.message.Message):
11300
11300
  proto.clarifai.api.resources_pb2.Task
11301
11301
  ]: ...
11302
11302
  action: builtins.str
11303
- """The action to perform on the patched objects
11304
- For now, only 'overwrite' action is supported
11303
+ """The action to perform on the patched tasks
11304
+ Supported operations:
11305
+ * 'overwrite' - overwrite the task with the fields provided in the request
11306
+ * 'merge' - update only the fields provided in the request, leave other fields unchanged
11307
+ For now, the 'merge' operation only supports updating task status.
11305
11308
  """
11306
11309
  def __init__(
11307
11310
  self,
@@ -11651,7 +11654,7 @@ class PatchLabelOrdersRequest(google.protobuf.message.Message):
11651
11654
  ]: ...
11652
11655
  action: builtins.str
11653
11656
  """The action to perform on the patched objects
11654
- For now actions 'merge', 'overwrite', and 'remove' are supported
11657
+ For now, only 'overwrite' option is supported
11655
11658
  """
11656
11659
  def __init__(
11657
11660
  self,
@@ -15010,70 +15013,39 @@ global___RunnerItem = RunnerItem
15010
15013
  class AutoAnnotationRequest(google.protobuf.message.Message):
15011
15014
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
15012
15015
 
15013
- @typing_extensions.final
15014
- class PostAnnotationsInfo(google.protobuf.message.Message):
15015
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
15016
-
15017
- USER_APP_ID_FIELD_NUMBER: builtins.int
15018
- AUTHORIZATION_VALUE_FIELD_NUMBER: builtins.int
15019
- TASK_ID_FIELD_NUMBER: builtins.int
15020
- @property
15021
- def user_app_id(self) -> proto.clarifai.api.resources_pb2.UserAppIDSet: ...
15022
- authorization_value: builtins.str
15023
- """Authorization value to be used when calling PostAnnotations endpoint."""
15024
- task_id: builtins.str
15025
- """Task ID linked to the annotations being created."""
15026
- def __init__(
15027
- self,
15028
- *,
15029
- user_app_id: proto.clarifai.api.resources_pb2.UserAppIDSet | None = ...,
15030
- authorization_value: builtins.str = ...,
15031
- task_id: builtins.str = ...,
15032
- ) -> None: ...
15033
- def HasField(
15034
- self, field_name: typing_extensions.Literal["user_app_id", b"user_app_id"]
15035
- ) -> builtins.bool: ...
15036
- def ClearField(
15037
- self,
15038
- field_name: typing_extensions.Literal[
15039
- "authorization_value",
15040
- b"authorization_value",
15041
- "task_id",
15042
- b"task_id",
15043
- "user_app_id",
15044
- b"user_app_id",
15045
- ],
15046
- ) -> None: ...
15047
-
15048
15016
  POST_MODEL_OUTPUTS_REQUEST_FIELD_NUMBER: builtins.int
15049
- POST_ANNOTATIONS_INFO_FIELD_NUMBER: builtins.int
15017
+ TASK_FIELD_NUMBER: builtins.int
15018
+ AUTHORIZATION_VALUE_FIELD_NUMBER: builtins.int
15050
15019
  @property
15051
15020
  def post_model_outputs_request(self) -> global___PostModelOutputsRequest:
15052
- """Perform prediction request and call PostAnnotations endpoint using post_annotations_info and prediction results."""
15021
+ """Perform prediction request and call PostAnnotations endpoint using prediction results."""
15053
15022
  @property
15054
- def post_annotations_info(self) -> global___AutoAnnotationRequest.PostAnnotationsInfo: ...
15023
+ def task(self) -> proto.clarifai.api.resources_pb2.Task:
15024
+ """Task used to create annotations ."""
15025
+ authorization_value: builtins.str
15026
+ """Authorization value to be used when calling PostAnnotations endpoint."""
15055
15027
  def __init__(
15056
15028
  self,
15057
15029
  *,
15058
15030
  post_model_outputs_request: global___PostModelOutputsRequest | None = ...,
15059
- post_annotations_info: global___AutoAnnotationRequest.PostAnnotationsInfo | None = ...,
15031
+ task: proto.clarifai.api.resources_pb2.Task | None = ...,
15032
+ authorization_value: builtins.str = ...,
15060
15033
  ) -> None: ...
15061
15034
  def HasField(
15062
15035
  self,
15063
15036
  field_name: typing_extensions.Literal[
15064
- "post_annotations_info",
15065
- b"post_annotations_info",
15066
- "post_model_outputs_request",
15067
- b"post_model_outputs_request",
15037
+ "post_model_outputs_request", b"post_model_outputs_request", "task", b"task"
15068
15038
  ],
15069
15039
  ) -> builtins.bool: ...
15070
15040
  def ClearField(
15071
15041
  self,
15072
15042
  field_name: typing_extensions.Literal[
15073
- "post_annotations_info",
15074
- b"post_annotations_info",
15043
+ "authorization_value",
15044
+ b"authorization_value",
15075
15045
  "post_model_outputs_request",
15076
15046
  b"post_model_outputs_request",
15047
+ "task",
15048
+ b"task",
15077
15049
  ],
15078
15050
  ) -> None: ...
15079
15051
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clarifai-grpc
3
- Version: 12.0.4
3
+ Version: 12.0.5
4
4
  Summary: Clarifai gRPC API Client
5
5
  Home-page: https://github.com/Clarifai/clarifai-python-grpc
6
6
  Author: Clarifai
@@ -1,4 +1,4 @@
1
- clarifai_grpc/__init__.py,sha256=Hqkv3gIrb9IBNLB9dkpb5GHHK1bHEghPkmYqm8AyhOo,1440
1
+ clarifai_grpc/__init__.py,sha256=Ak4m0PrD0IHQ33S_OL66_N_3y92guJxPZEI25u8oW6I,1440
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
@@ -13,8 +13,8 @@ clarifai_grpc/grpc/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
13
13
  clarifai_grpc/grpc/api/resources_pb2.py,sha256=EkkbVU-sV9ijtafskIJcfbikw-PZtaR4B6uZCZHTnyM,159875
14
14
  clarifai_grpc/grpc/api/resources_pb2.pyi,sha256=ukNoqjmddrIYieU133y8u4VIYZgTcuMi-uaoLtUoNDk,663912
15
15
  clarifai_grpc/grpc/api/resources_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
16
- clarifai_grpc/grpc/api/service_pb2.py,sha256=3a-437l_pZRky3ZJZ96HYfX_XUBYnxPIN3wRYnYXGEA,361413
17
- clarifai_grpc/grpc/api/service_pb2.pyi,sha256=hTp-_XER02EsYYl-VjU76YWfLmcq3RNz4gudWBBXkPs,672614
16
+ clarifai_grpc/grpc/api/service_pb2.py,sha256=quKilGRx_PMAWRG0rABdI1omnzJgwGXWmw_AL_mwW5o,361082
17
+ clarifai_grpc/grpc/api/service_pb2.pyi,sha256=dIgJeRmybCTOCpE9qJKpEOloby_wzhPH-ufv1LtDdp4,671592
18
18
  clarifai_grpc/grpc/api/service_pb2_grpc.py,sha256=-8vhsYxsybt9msolKgHEu-Iaj_-8LrQ5rczbHnBxyVk,538600
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=izkU6ZzsFZS-6M-M5Gwxhdxi2bqP90NFoDyEBmvn45g,26621
@@ -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-12.0.4.dist-info/licenses/LICENSE,sha256=GuQZ4iPZUwh44duTbVr7ZzYp_SaJDLR9MvzU7YqlZXM,555
50
- clarifai_grpc-12.0.4.dist-info/METADATA,sha256=P5RHTK028LR_r2Xwi9QUVp62IiKJVv84-FVUzDX1NuM,4427
51
- clarifai_grpc-12.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
- clarifai_grpc-12.0.4.dist-info/top_level.txt,sha256=azOUiixWkDpdb3gn_YNgz8sbAfhNvZuC3_9qI7hNQac,14
53
- clarifai_grpc-12.0.4.dist-info/RECORD,,
49
+ clarifai_grpc-12.0.5.dist-info/licenses/LICENSE,sha256=GuQZ4iPZUwh44duTbVr7ZzYp_SaJDLR9MvzU7YqlZXM,555
50
+ clarifai_grpc-12.0.5.dist-info/METADATA,sha256=Yt4y0myfkINq5vtsAWzhqN7_qXUAzdi4U0WsI-B8nPc,4427
51
+ clarifai_grpc-12.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
+ clarifai_grpc-12.0.5.dist-info/top_level.txt,sha256=azOUiixWkDpdb3gn_YNgz8sbAfhNvZuC3_9qI7hNQac,14
53
+ clarifai_grpc-12.0.5.dist-info/RECORD,,