clarifai-grpc 11.9.3__py3-none-any.whl → 11.9.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.
@@ -3671,6 +3671,7 @@ class Input(google.protobuf.message.Message):
3671
3671
  MODIFIED_AT_FIELD_NUMBER: builtins.int
3672
3672
  STATUS_FIELD_NUMBER: builtins.int
3673
3673
  DATASET_IDS_FIELD_NUMBER: builtins.int
3674
+ SETTINGS_FIELD_NUMBER: builtins.int
3674
3675
  id: builtins.str
3675
3676
  """The ID for the input"""
3676
3677
  @property
@@ -3702,6 +3703,9 @@ class Input(google.protobuf.message.Message):
3702
3703
  * to add inputs to dataset(s) in `PostInputs` endpoint.
3703
3704
  Note that this field is ignored for other endpoints, e.g. `GetInput`, `ListInputs` and `PatchInputs`.
3704
3705
  """
3706
+ @property
3707
+ def settings(self) -> global___InputSettings:
3708
+ """Global settings for annotation tracks."""
3705
3709
  def __init__(
3706
3710
  self,
3707
3711
  *,
@@ -3711,6 +3715,7 @@ class Input(google.protobuf.message.Message):
3711
3715
  modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
3712
3716
  status: proto.clarifai.api.status.status_pb2.Status | None = ...,
3713
3717
  dataset_ids: collections.abc.Iterable[builtins.str] | None = ...,
3718
+ settings: global___InputSettings | None = ...,
3714
3719
  ) -> None: ...
3715
3720
  def HasField(
3716
3721
  self,
@@ -3721,6 +3726,8 @@ class Input(google.protobuf.message.Message):
3721
3726
  b"data",
3722
3727
  "modified_at",
3723
3728
  b"modified_at",
3729
+ "settings",
3730
+ b"settings",
3724
3731
  "status",
3725
3732
  b"status",
3726
3733
  ],
@@ -3738,6 +3745,8 @@ class Input(google.protobuf.message.Message):
3738
3745
  b"id",
3739
3746
  "modified_at",
3740
3747
  b"modified_at",
3748
+ "settings",
3749
+ b"settings",
3741
3750
  "status",
3742
3751
  b"status",
3743
3752
  ],
@@ -3745,6 +3754,55 @@ class Input(google.protobuf.message.Message):
3745
3754
 
3746
3755
  global___Input = Input
3747
3756
 
3757
+ @typing_extensions.final
3758
+ class InputSettings(google.protobuf.message.Message):
3759
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
3760
+
3761
+ WORKER_FIELD_NUMBER: builtins.int
3762
+ SAMPLE_RATE_MS_FIELD_NUMBER: builtins.int
3763
+ SAMPLE_RATE_FRAME_FIELD_NUMBER: builtins.int
3764
+ PINNED_CONCEPT_IDS_FIELD_NUMBER: builtins.int
3765
+ @property
3766
+ def worker(self) -> global___Worker:
3767
+ """Default model used for annotation generation (SAM2, etc.)
3768
+ Make sure to set correct model version id, app id and user id etc.
3769
+ Workflow is not supported here yet
3770
+ """
3771
+ sample_rate_ms: builtins.int
3772
+ """Sampling settings used"""
3773
+ sample_rate_frame: builtins.int
3774
+ @property
3775
+ def pinned_concept_ids(
3776
+ self,
3777
+ ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
3778
+ """Pinned concept ids"""
3779
+ def __init__(
3780
+ self,
3781
+ *,
3782
+ worker: global___Worker | None = ...,
3783
+ sample_rate_ms: builtins.int = ...,
3784
+ sample_rate_frame: builtins.int = ...,
3785
+ pinned_concept_ids: collections.abc.Iterable[builtins.str] | None = ...,
3786
+ ) -> None: ...
3787
+ def HasField(
3788
+ self, field_name: typing_extensions.Literal["worker", b"worker"]
3789
+ ) -> builtins.bool: ...
3790
+ def ClearField(
3791
+ self,
3792
+ field_name: typing_extensions.Literal[
3793
+ "pinned_concept_ids",
3794
+ b"pinned_concept_ids",
3795
+ "sample_rate_frame",
3796
+ b"sample_rate_frame",
3797
+ "sample_rate_ms",
3798
+ b"sample_rate_ms",
3799
+ "worker",
3800
+ b"worker",
3801
+ ],
3802
+ ) -> None: ...
3803
+
3804
+ global___InputSettings = InputSettings
3805
+
3748
3806
  @typing_extensions.final
3749
3807
  class InputBatch(google.protobuf.message.Message):
3750
3808
  """InputBatch is a batch of Input resources. Large amounts of inputs are usually
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: clarifai-grpc
3
- Version: 11.9.3
3
+ Version: 11.9.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=jcM3yb5GK7gC1lZ_78WRSvtuWVq1dfI9-cS3lNFQ9tc,1440
1
+ clarifai_grpc/__init__.py,sha256=BpypapQPkr2X876c5gi3GtgGrKY1ubDV-I7kxT8Swp4,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
@@ -10,8 +10,8 @@ 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=hplguicgRZApH7UCWjyviCAGqxEZ0XgJc7MZmkEP-do,157804
14
- clarifai_grpc/grpc/api/resources_pb2.pyi,sha256=aujBpCV_rfjnZdLf7iGCWJxojEKDDQRGnLL4qNgbJmw,649855
13
+ clarifai_grpc/grpc/api/resources_pb2.py,sha256=HMcrX2BIs05GM4AEf838LtAcqGloVr4kA1xTFQaNcvc,157395
14
+ clarifai_grpc/grpc/api/resources_pb2.pyi,sha256=1yQZUu7Xdbu7d1FwSwKDnzYIoP6CEILzMTG9jlHvcsM,651809
15
15
  clarifai_grpc/grpc/api/resources_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
16
16
  clarifai_grpc/grpc/api/service_pb2.py,sha256=cUuUIB8Ozaha3lfglMi3-4IddCLwq88BL-80u_ZSPXo,346747
17
17
  clarifai_grpc/grpc/api/service_pb2.pyi,sha256=6OBUF1H8piOaugU880p8pDzrBhUtkfLgjpdBNuIq2rk,642222
@@ -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.9.3.dist-info/licenses/LICENSE,sha256=GuQZ4iPZUwh44duTbVr7ZzYp_SaJDLR9MvzU7YqlZXM,555
50
- clarifai_grpc-11.9.3.dist-info/METADATA,sha256=I0xNxuIojAMm8XyTextE4MRwpEhwdkdK70JmaKUAbiU,4427
51
- clarifai_grpc-11.9.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
- clarifai_grpc-11.9.3.dist-info/top_level.txt,sha256=azOUiixWkDpdb3gn_YNgz8sbAfhNvZuC3_9qI7hNQac,14
53
- clarifai_grpc-11.9.3.dist-info/RECORD,,
49
+ clarifai_grpc-11.9.5.dist-info/licenses/LICENSE,sha256=GuQZ4iPZUwh44duTbVr7ZzYp_SaJDLR9MvzU7YqlZXM,555
50
+ clarifai_grpc-11.9.5.dist-info/METADATA,sha256=UDyFH5s2upJrofgF-ycuLgoz2lCyDmZw71tXyx6HOeI,4427
51
+ clarifai_grpc-11.9.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
52
+ clarifai_grpc-11.9.5.dist-info/top_level.txt,sha256=azOUiixWkDpdb3gn_YNgz8sbAfhNvZuC3_9qI7hNQac,14
53
+ clarifai_grpc-11.9.5.dist-info/RECORD,,