clarifai-grpc 11.9.9__py3-none-any.whl → 11.9.11__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.
@@ -3761,7 +3761,7 @@ class InputSettings(google.protobuf.message.Message):
3761
3761
  WORKER_FIELD_NUMBER: builtins.int
3762
3762
  SAMPLE_RATE_MS_FIELD_NUMBER: builtins.int
3763
3763
  SAMPLE_RATE_FRAME_FIELD_NUMBER: builtins.int
3764
- PINNED_CONCEPT_IDS_FIELD_NUMBER: builtins.int
3764
+ PINNED_CONCEPTS_FIELD_NUMBER: builtins.int
3765
3765
  @property
3766
3766
  def worker(self) -> global___Worker:
3767
3767
  """Default model used for annotation generation (SAM2, etc.)
@@ -3772,9 +3772,9 @@ class InputSettings(google.protobuf.message.Message):
3772
3772
  """Sampling settings used"""
3773
3773
  sample_rate_frame: builtins.int
3774
3774
  @property
3775
- def pinned_concept_ids(
3775
+ def pinned_concepts(
3776
3776
  self,
3777
- ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
3777
+ ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Concept]:
3778
3778
  """Pinned concept ids"""
3779
3779
  def __init__(
3780
3780
  self,
@@ -3782,7 +3782,7 @@ class InputSettings(google.protobuf.message.Message):
3782
3782
  worker: global___Worker | None = ...,
3783
3783
  sample_rate_ms: builtins.int = ...,
3784
3784
  sample_rate_frame: builtins.int = ...,
3785
- pinned_concept_ids: collections.abc.Iterable[builtins.str] | None = ...,
3785
+ pinned_concepts: collections.abc.Iterable[global___Concept] | None = ...,
3786
3786
  ) -> None: ...
3787
3787
  def HasField(
3788
3788
  self, field_name: typing_extensions.Literal["worker", b"worker"]
@@ -3790,8 +3790,8 @@ class InputSettings(google.protobuf.message.Message):
3790
3790
  def ClearField(
3791
3791
  self,
3792
3792
  field_name: typing_extensions.Literal[
3793
- "pinned_concept_ids",
3794
- b"pinned_concept_ids",
3793
+ "pinned_concepts",
3794
+ b"pinned_concepts",
3795
3795
  "sample_rate_frame",
3796
3796
  b"sample_rate_frame",
3797
3797
  "sample_rate_ms",
@@ -5677,7 +5677,7 @@ global___EvalInfo = EvalInfo
5677
5677
 
5678
5678
  @typing_extensions.final
5679
5679
  class ImportInfo(google.protobuf.message.Message):
5680
- """DEPRECATED: no longer support importing models from third party toolkits"""
5680
+ """DEPRECATED: no longer support importing models from third-party toolkits"""
5681
5681
 
5682
5682
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
5683
5683
 
@@ -17131,6 +17131,92 @@ class Pipeline(google.protobuf.message.Message):
17131
17131
 
17132
17132
  global___Pipeline = Pipeline
17133
17133
 
17134
+ @typing_extensions.final
17135
+ class PipelineVersionConfig(google.protobuf.message.Message):
17136
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
17137
+
17138
+ @typing_extensions.final
17139
+ class StepVersionSecretsEntry(google.protobuf.message.Message):
17140
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
17141
+
17142
+ KEY_FIELD_NUMBER: builtins.int
17143
+ VALUE_FIELD_NUMBER: builtins.int
17144
+ key: builtins.str
17145
+ @property
17146
+ def value(self) -> global___StepSecretConfig: ...
17147
+ def __init__(
17148
+ self,
17149
+ *,
17150
+ key: builtins.str = ...,
17151
+ value: global___StepSecretConfig | None = ...,
17152
+ ) -> None: ...
17153
+ def HasField(
17154
+ self, field_name: typing_extensions.Literal["value", b"value"]
17155
+ ) -> builtins.bool: ...
17156
+ def ClearField(
17157
+ self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]
17158
+ ) -> None: ...
17159
+
17160
+ STEP_VERSION_SECRETS_FIELD_NUMBER: builtins.int
17161
+ @property
17162
+ def step_version_secrets(
17163
+ self,
17164
+ ) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___StepSecretConfig]:
17165
+ """StepVersionSecrets maps step version references to their secret configurations
17166
+ The outer map key is the step version reference (e.g. "step1" or the step version ID)
17167
+ The inner map key is the secret name (e.g. "EMAIL_PROVIDER_API_KEY")
17168
+ The inner map value is the secret reference (e.g. "users/1/secrets/secret-1")
17169
+ """
17170
+ def __init__(
17171
+ self,
17172
+ *,
17173
+ step_version_secrets: collections.abc.Mapping[builtins.str, global___StepSecretConfig]
17174
+ | None = ...,
17175
+ ) -> None: ...
17176
+ def ClearField(
17177
+ self,
17178
+ field_name: typing_extensions.Literal["step_version_secrets", b"step_version_secrets"],
17179
+ ) -> None: ...
17180
+
17181
+ global___PipelineVersionConfig = PipelineVersionConfig
17182
+
17183
+ @typing_extensions.final
17184
+ class StepSecretConfig(google.protobuf.message.Message):
17185
+ """StepSecretConfig defines secrets for a specific step version"""
17186
+
17187
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
17188
+
17189
+ @typing_extensions.final
17190
+ class SecretsEntry(google.protobuf.message.Message):
17191
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
17192
+
17193
+ KEY_FIELD_NUMBER: builtins.int
17194
+ VALUE_FIELD_NUMBER: builtins.int
17195
+ key: builtins.str
17196
+ value: builtins.str
17197
+ def __init__(
17198
+ self,
17199
+ *,
17200
+ key: builtins.str = ...,
17201
+ value: builtins.str = ...,
17202
+ ) -> None: ...
17203
+ def ClearField(
17204
+ self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]
17205
+ ) -> None: ...
17206
+
17207
+ SECRETS_FIELD_NUMBER: builtins.int
17208
+ @property
17209
+ def secrets(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
17210
+ """Map of secret name to secret reference"""
17211
+ def __init__(
17212
+ self,
17213
+ *,
17214
+ secrets: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
17215
+ ) -> None: ...
17216
+ def ClearField(self, field_name: typing_extensions.Literal["secrets", b"secrets"]) -> None: ...
17217
+
17218
+ global___StepSecretConfig = StepSecretConfig
17219
+
17134
17220
  @typing_extensions.final
17135
17221
  class PipelineVersion(google.protobuf.message.Message):
17136
17222
  DESCRIPTOR: google.protobuf.descriptor.Descriptor
@@ -17145,6 +17231,7 @@ class PipelineVersion(google.protobuf.message.Message):
17145
17231
  METADATA_FIELD_NUMBER: builtins.int
17146
17232
  CREATED_AT_FIELD_NUMBER: builtins.int
17147
17233
  MODIFIED_AT_FIELD_NUMBER: builtins.int
17234
+ CONFIG_FIELD_NUMBER: builtins.int
17148
17235
  id: builtins.str
17149
17236
  app_id: builtins.str
17150
17237
  """The app the pipeline version belongs to."""
@@ -17174,6 +17261,9 @@ class PipelineVersion(google.protobuf.message.Message):
17174
17261
  @property
17175
17262
  def modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
17176
17263
  """When the pipeline was last modified"""
17264
+ @property
17265
+ def config(self) -> global___PipelineVersionConfig:
17266
+ """Pipeline version configuration including step secrets"""
17177
17267
  def __init__(
17178
17268
  self,
17179
17269
  *,
@@ -17187,10 +17277,13 @@ class PipelineVersion(google.protobuf.message.Message):
17187
17277
  metadata: google.protobuf.struct_pb2.Struct | None = ...,
17188
17278
  created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
17189
17279
  modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
17280
+ config: global___PipelineVersionConfig | None = ...,
17190
17281
  ) -> None: ...
17191
17282
  def HasField(
17192
17283
  self,
17193
17284
  field_name: typing_extensions.Literal[
17285
+ "config",
17286
+ b"config",
17194
17287
  "created_at",
17195
17288
  b"created_at",
17196
17289
  "metadata",
@@ -17208,6 +17301,8 @@ class PipelineVersion(google.protobuf.message.Message):
17208
17301
  field_name: typing_extensions.Literal[
17209
17302
  "app_id",
17210
17303
  b"app_id",
17304
+ "config",
17305
+ b"config",
17211
17306
  "created_at",
17212
17307
  b"created_at",
17213
17308
  "description",