clarifai-grpc 11.9.10__py3-none-any.whl → 11.10.0__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.
- clarifai_grpc/__init__.py +1 -1
- clarifai_grpc/grpc/api/resources_pb2.py +542 -524
- clarifai_grpc/grpc/api/resources_pb2.pyi +194 -7
- clarifai_grpc/grpc/api/service_pb2.py +6 -6
- clarifai_grpc/grpc/auth/scope/scope_pb2.py +8 -2
- clarifai_grpc/grpc/auth/scope/scope_pb2.pyi +6 -0
- {clarifai_grpc-11.9.10.dist-info → clarifai_grpc-11.10.0.dist-info}/METADATA +1 -1
- {clarifai_grpc-11.9.10.dist-info → clarifai_grpc-11.10.0.dist-info}/RECORD +11 -11
- {clarifai_grpc-11.9.10.dist-info → clarifai_grpc-11.10.0.dist-info}/WHEEL +0 -0
- {clarifai_grpc-11.9.10.dist-info → clarifai_grpc-11.10.0.dist-info}/licenses/LICENSE +0 -0
- {clarifai_grpc-11.9.10.dist-info → clarifai_grpc-11.10.0.dist-info}/top_level.txt +0 -0
|
@@ -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
|
-
|
|
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
|
|
3775
|
+
def pinned_concepts(
|
|
3776
3776
|
self,
|
|
3777
|
-
) -> google.protobuf.internal.containers.
|
|
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
|
-
|
|
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
|
-
"
|
|
3794
|
-
b"
|
|
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
|
|
5680
|
+
"""DEPRECATED: no longer support importing models from third-party toolkits"""
|
|
5681
5681
|
|
|
5682
5682
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
5683
5683
|
|
|
@@ -16650,6 +16650,80 @@ class WorkflowVersionEvaluationData(google.protobuf.message.Message):
|
|
|
16650
16650
|
|
|
16651
16651
|
global___WorkflowVersionEvaluationData = WorkflowVersionEvaluationData
|
|
16652
16652
|
|
|
16653
|
+
@typing_extensions.final
|
|
16654
|
+
class ArgoParameterOverride(google.protobuf.message.Message):
|
|
16655
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
16656
|
+
|
|
16657
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
16658
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
16659
|
+
name: builtins.str
|
|
16660
|
+
value: builtins.str
|
|
16661
|
+
"""Argo parameters are always strings"""
|
|
16662
|
+
def __init__(
|
|
16663
|
+
self,
|
|
16664
|
+
*,
|
|
16665
|
+
name: builtins.str = ...,
|
|
16666
|
+
value: builtins.str = ...,
|
|
16667
|
+
) -> None: ...
|
|
16668
|
+
def ClearField(
|
|
16669
|
+
self, field_name: typing_extensions.Literal["name", b"name", "value", b"value"]
|
|
16670
|
+
) -> None: ...
|
|
16671
|
+
|
|
16672
|
+
global___ArgoParameterOverride = ArgoParameterOverride
|
|
16673
|
+
|
|
16674
|
+
@typing_extensions.final
|
|
16675
|
+
class ArgoArgsOverride(google.protobuf.message.Message):
|
|
16676
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
16677
|
+
|
|
16678
|
+
PARAMETERS_FIELD_NUMBER: builtins.int
|
|
16679
|
+
@property
|
|
16680
|
+
def parameters(
|
|
16681
|
+
self,
|
|
16682
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
16683
|
+
global___ArgoParameterOverride
|
|
16684
|
+
]: ...
|
|
16685
|
+
def __init__(
|
|
16686
|
+
self,
|
|
16687
|
+
*,
|
|
16688
|
+
parameters: collections.abc.Iterable[global___ArgoParameterOverride] | None = ...,
|
|
16689
|
+
) -> None: ...
|
|
16690
|
+
def ClearField(
|
|
16691
|
+
self, field_name: typing_extensions.Literal["parameters", b"parameters"]
|
|
16692
|
+
) -> None: ...
|
|
16693
|
+
|
|
16694
|
+
global___ArgoArgsOverride = ArgoArgsOverride
|
|
16695
|
+
|
|
16696
|
+
@typing_extensions.final
|
|
16697
|
+
class OrchestrationArgsOverride(google.protobuf.message.Message):
|
|
16698
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
16699
|
+
|
|
16700
|
+
ARGO_ARGS_OVERRIDE_FIELD_NUMBER: builtins.int
|
|
16701
|
+
@property
|
|
16702
|
+
def argo_args_override(self) -> global___ArgoArgsOverride:
|
|
16703
|
+
"""Future: KubeFlowArgsOverride, AirflowArgsOverride, etc."""
|
|
16704
|
+
def __init__(
|
|
16705
|
+
self,
|
|
16706
|
+
*,
|
|
16707
|
+
argo_args_override: global___ArgoArgsOverride | None = ...,
|
|
16708
|
+
) -> None: ...
|
|
16709
|
+
def HasField(
|
|
16710
|
+
self,
|
|
16711
|
+
field_name: typing_extensions.Literal[
|
|
16712
|
+
"argo_args_override", b"argo_args_override", "override", b"override"
|
|
16713
|
+
],
|
|
16714
|
+
) -> builtins.bool: ...
|
|
16715
|
+
def ClearField(
|
|
16716
|
+
self,
|
|
16717
|
+
field_name: typing_extensions.Literal[
|
|
16718
|
+
"argo_args_override", b"argo_args_override", "override", b"override"
|
|
16719
|
+
],
|
|
16720
|
+
) -> None: ...
|
|
16721
|
+
def WhichOneof(
|
|
16722
|
+
self, oneof_group: typing_extensions.Literal["override", b"override"]
|
|
16723
|
+
) -> typing_extensions.Literal["argo_args_override"] | None: ...
|
|
16724
|
+
|
|
16725
|
+
global___OrchestrationArgsOverride = OrchestrationArgsOverride
|
|
16726
|
+
|
|
16653
16727
|
@typing_extensions.final
|
|
16654
16728
|
class ArgoOrchestrationSpec(google.protobuf.message.Message):
|
|
16655
16729
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -17131,6 +17205,92 @@ class Pipeline(google.protobuf.message.Message):
|
|
|
17131
17205
|
|
|
17132
17206
|
global___Pipeline = Pipeline
|
|
17133
17207
|
|
|
17208
|
+
@typing_extensions.final
|
|
17209
|
+
class PipelineVersionConfig(google.protobuf.message.Message):
|
|
17210
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17211
|
+
|
|
17212
|
+
@typing_extensions.final
|
|
17213
|
+
class StepVersionSecretsEntry(google.protobuf.message.Message):
|
|
17214
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17215
|
+
|
|
17216
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
17217
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
17218
|
+
key: builtins.str
|
|
17219
|
+
@property
|
|
17220
|
+
def value(self) -> global___StepSecretConfig: ...
|
|
17221
|
+
def __init__(
|
|
17222
|
+
self,
|
|
17223
|
+
*,
|
|
17224
|
+
key: builtins.str = ...,
|
|
17225
|
+
value: global___StepSecretConfig | None = ...,
|
|
17226
|
+
) -> None: ...
|
|
17227
|
+
def HasField(
|
|
17228
|
+
self, field_name: typing_extensions.Literal["value", b"value"]
|
|
17229
|
+
) -> builtins.bool: ...
|
|
17230
|
+
def ClearField(
|
|
17231
|
+
self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]
|
|
17232
|
+
) -> None: ...
|
|
17233
|
+
|
|
17234
|
+
STEP_VERSION_SECRETS_FIELD_NUMBER: builtins.int
|
|
17235
|
+
@property
|
|
17236
|
+
def step_version_secrets(
|
|
17237
|
+
self,
|
|
17238
|
+
) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___StepSecretConfig]:
|
|
17239
|
+
"""StepVersionSecrets maps step version references to their secret configurations
|
|
17240
|
+
The outer map key is the step version reference (e.g. "step1" or the step version ID)
|
|
17241
|
+
The inner map key is the secret name (e.g. "EMAIL_PROVIDER_API_KEY")
|
|
17242
|
+
The inner map value is the secret reference (e.g. "users/1/secrets/secret-1")
|
|
17243
|
+
"""
|
|
17244
|
+
def __init__(
|
|
17245
|
+
self,
|
|
17246
|
+
*,
|
|
17247
|
+
step_version_secrets: collections.abc.Mapping[builtins.str, global___StepSecretConfig]
|
|
17248
|
+
| None = ...,
|
|
17249
|
+
) -> None: ...
|
|
17250
|
+
def ClearField(
|
|
17251
|
+
self,
|
|
17252
|
+
field_name: typing_extensions.Literal["step_version_secrets", b"step_version_secrets"],
|
|
17253
|
+
) -> None: ...
|
|
17254
|
+
|
|
17255
|
+
global___PipelineVersionConfig = PipelineVersionConfig
|
|
17256
|
+
|
|
17257
|
+
@typing_extensions.final
|
|
17258
|
+
class StepSecretConfig(google.protobuf.message.Message):
|
|
17259
|
+
"""StepSecretConfig defines secrets for a specific step version"""
|
|
17260
|
+
|
|
17261
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17262
|
+
|
|
17263
|
+
@typing_extensions.final
|
|
17264
|
+
class SecretsEntry(google.protobuf.message.Message):
|
|
17265
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17266
|
+
|
|
17267
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
17268
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
17269
|
+
key: builtins.str
|
|
17270
|
+
value: builtins.str
|
|
17271
|
+
def __init__(
|
|
17272
|
+
self,
|
|
17273
|
+
*,
|
|
17274
|
+
key: builtins.str = ...,
|
|
17275
|
+
value: builtins.str = ...,
|
|
17276
|
+
) -> None: ...
|
|
17277
|
+
def ClearField(
|
|
17278
|
+
self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]
|
|
17279
|
+
) -> None: ...
|
|
17280
|
+
|
|
17281
|
+
SECRETS_FIELD_NUMBER: builtins.int
|
|
17282
|
+
@property
|
|
17283
|
+
def secrets(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
17284
|
+
"""Map of secret name to secret reference"""
|
|
17285
|
+
def __init__(
|
|
17286
|
+
self,
|
|
17287
|
+
*,
|
|
17288
|
+
secrets: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
17289
|
+
) -> None: ...
|
|
17290
|
+
def ClearField(self, field_name: typing_extensions.Literal["secrets", b"secrets"]) -> None: ...
|
|
17291
|
+
|
|
17292
|
+
global___StepSecretConfig = StepSecretConfig
|
|
17293
|
+
|
|
17134
17294
|
@typing_extensions.final
|
|
17135
17295
|
class PipelineVersion(google.protobuf.message.Message):
|
|
17136
17296
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -17145,6 +17305,7 @@ class PipelineVersion(google.protobuf.message.Message):
|
|
|
17145
17305
|
METADATA_FIELD_NUMBER: builtins.int
|
|
17146
17306
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
17147
17307
|
MODIFIED_AT_FIELD_NUMBER: builtins.int
|
|
17308
|
+
CONFIG_FIELD_NUMBER: builtins.int
|
|
17148
17309
|
id: builtins.str
|
|
17149
17310
|
app_id: builtins.str
|
|
17150
17311
|
"""The app the pipeline version belongs to."""
|
|
@@ -17174,6 +17335,9 @@ class PipelineVersion(google.protobuf.message.Message):
|
|
|
17174
17335
|
@property
|
|
17175
17336
|
def modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
17176
17337
|
"""When the pipeline was last modified"""
|
|
17338
|
+
@property
|
|
17339
|
+
def config(self) -> global___PipelineVersionConfig:
|
|
17340
|
+
"""Pipeline version configuration including step secrets"""
|
|
17177
17341
|
def __init__(
|
|
17178
17342
|
self,
|
|
17179
17343
|
*,
|
|
@@ -17187,10 +17351,13 @@ class PipelineVersion(google.protobuf.message.Message):
|
|
|
17187
17351
|
metadata: google.protobuf.struct_pb2.Struct | None = ...,
|
|
17188
17352
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17189
17353
|
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17354
|
+
config: global___PipelineVersionConfig | None = ...,
|
|
17190
17355
|
) -> None: ...
|
|
17191
17356
|
def HasField(
|
|
17192
17357
|
self,
|
|
17193
17358
|
field_name: typing_extensions.Literal[
|
|
17359
|
+
"config",
|
|
17360
|
+
b"config",
|
|
17194
17361
|
"created_at",
|
|
17195
17362
|
b"created_at",
|
|
17196
17363
|
"metadata",
|
|
@@ -17208,6 +17375,8 @@ class PipelineVersion(google.protobuf.message.Message):
|
|
|
17208
17375
|
field_name: typing_extensions.Literal[
|
|
17209
17376
|
"app_id",
|
|
17210
17377
|
b"app_id",
|
|
17378
|
+
"config",
|
|
17379
|
+
b"config",
|
|
17211
17380
|
"created_at",
|
|
17212
17381
|
b"created_at",
|
|
17213
17382
|
"description",
|
|
@@ -17297,6 +17466,8 @@ class PipelineVersionRun(google.protobuf.message.Message):
|
|
|
17297
17466
|
APP_ID_FIELD_NUMBER: builtins.int
|
|
17298
17467
|
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
17299
17468
|
MODIFIED_AT_FIELD_NUMBER: builtins.int
|
|
17469
|
+
INPUT_ARGS_OVERRIDE_FIELD_NUMBER: builtins.int
|
|
17470
|
+
ORCHESTRATION_SPEC_FIELD_NUMBER: builtins.int
|
|
17300
17471
|
id: builtins.str
|
|
17301
17472
|
@property
|
|
17302
17473
|
def pipeline_version(self) -> global___PipelineVersion:
|
|
@@ -17319,6 +17490,12 @@ class PipelineVersionRun(google.protobuf.message.Message):
|
|
|
17319
17490
|
@property
|
|
17320
17491
|
def modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
17321
17492
|
"""When the pipeline was last modified"""
|
|
17493
|
+
@property
|
|
17494
|
+
def input_args_override(self) -> global___OrchestrationArgsOverride:
|
|
17495
|
+
"""Optional: Overrides to input arguments for the orchestration system."""
|
|
17496
|
+
@property
|
|
17497
|
+
def orchestration_spec(self) -> global___OrchestrationSpec:
|
|
17498
|
+
"""Final merged orchestration spec snapshot submitted to backend."""
|
|
17322
17499
|
def __init__(
|
|
17323
17500
|
self,
|
|
17324
17501
|
*,
|
|
@@ -17330,14 +17507,20 @@ class PipelineVersionRun(google.protobuf.message.Message):
|
|
|
17330
17507
|
app_id: builtins.str = ...,
|
|
17331
17508
|
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17332
17509
|
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17510
|
+
input_args_override: global___OrchestrationArgsOverride | None = ...,
|
|
17511
|
+
orchestration_spec: global___OrchestrationSpec | None = ...,
|
|
17333
17512
|
) -> None: ...
|
|
17334
17513
|
def HasField(
|
|
17335
17514
|
self,
|
|
17336
17515
|
field_name: typing_extensions.Literal[
|
|
17337
17516
|
"created_at",
|
|
17338
17517
|
b"created_at",
|
|
17518
|
+
"input_args_override",
|
|
17519
|
+
b"input_args_override",
|
|
17339
17520
|
"modified_at",
|
|
17340
17521
|
b"modified_at",
|
|
17522
|
+
"orchestration_spec",
|
|
17523
|
+
b"orchestration_spec",
|
|
17341
17524
|
"orchestration_status",
|
|
17342
17525
|
b"orchestration_status",
|
|
17343
17526
|
"pipeline_version",
|
|
@@ -17353,10 +17536,14 @@ class PipelineVersionRun(google.protobuf.message.Message):
|
|
|
17353
17536
|
b"created_at",
|
|
17354
17537
|
"id",
|
|
17355
17538
|
b"id",
|
|
17539
|
+
"input_args_override",
|
|
17540
|
+
b"input_args_override",
|
|
17356
17541
|
"modified_at",
|
|
17357
17542
|
b"modified_at",
|
|
17358
17543
|
"nodepools",
|
|
17359
17544
|
b"nodepools",
|
|
17545
|
+
"orchestration_spec",
|
|
17546
|
+
b"orchestration_spec",
|
|
17360
17547
|
"orchestration_status",
|
|
17361
17548
|
b"orchestration_status",
|
|
17362
17549
|
"pipeline_version",
|