Skip to content

Commit dbf0a96

Browse files
committed
GRPC clients version 11.9.5
1 parent 278d924 commit dbf0a96

File tree

3 files changed

+585
-535
lines changed

3 files changed

+585
-535
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.9.4"
1+
__version__ = "11.9.5"
22

33
import os
44

clarifai_grpc/grpc/api/resources_pb2.py

Lines changed: 526 additions & 534 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: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3671,6 +3671,7 @@ class Input(google.protobuf.message.Message):
36713671
MODIFIED_AT_FIELD_NUMBER: builtins.int
36723672
STATUS_FIELD_NUMBER: builtins.int
36733673
DATASET_IDS_FIELD_NUMBER: builtins.int
3674+
SETTINGS_FIELD_NUMBER: builtins.int
36743675
id: builtins.str
36753676
"""The ID for the input"""
36763677
@property
@@ -3702,6 +3703,9 @@ class Input(google.protobuf.message.Message):
37023703
* to add inputs to dataset(s) in `PostInputs` endpoint.
37033704
Note that this field is ignored for other endpoints, e.g. `GetInput`, `ListInputs` and `PatchInputs`.
37043705
"""
3706+
@property
3707+
def settings(self) -> global___InputSettings:
3708+
"""Global settings for annotation tracks."""
37053709
def __init__(
37063710
self,
37073711
*,
@@ -3711,6 +3715,7 @@ class Input(google.protobuf.message.Message):
37113715
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
37123716
status: proto.clarifai.api.status.status_pb2.Status | None = ...,
37133717
dataset_ids: collections.abc.Iterable[builtins.str] | None = ...,
3718+
settings: global___InputSettings | None = ...,
37143719
) -> None: ...
37153720
def HasField(
37163721
self,
@@ -3721,6 +3726,8 @@ class Input(google.protobuf.message.Message):
37213726
b"data",
37223727
"modified_at",
37233728
b"modified_at",
3729+
"settings",
3730+
b"settings",
37243731
"status",
37253732
b"status",
37263733
],
@@ -3738,13 +3745,64 @@ class Input(google.protobuf.message.Message):
37383745
b"id",
37393746
"modified_at",
37403747
b"modified_at",
3748+
"settings",
3749+
b"settings",
37413750
"status",
37423751
b"status",
37433752
],
37443753
) -> None: ...
37453754

37463755
global___Input = Input
37473756

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+
37483806
@typing_extensions.final
37493807
class InputBatch(google.protobuf.message.Message):
37503808
"""InputBatch is a batch of Input resources. Large amounts of inputs are usually

0 commit comments

Comments
 (0)