clarifai-grpc 11.8.5__py3-none-any.whl → 11.9.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 +562 -558
- clarifai_grpc/grpc/api/resources_pb2.pyi +50 -3
- clarifai_grpc/grpc/api/service_pb2.py +853 -849
- clarifai_grpc/grpc/api/service_pb2.pyi +169 -35
- clarifai_grpc/grpc/api/service_pb2_grpc.py +34 -0
- clarifai_grpc/grpc/api/status/status_code_pb2.py +2 -2
- clarifai_grpc/grpc/api/status/status_code_pb2.pyi +2 -0
- {clarifai_grpc-11.8.5.dist-info → clarifai_grpc-11.9.0.dist-info}/METADATA +1 -1
- {clarifai_grpc-11.8.5.dist-info → clarifai_grpc-11.9.0.dist-info}/RECORD +13 -13
- {clarifai_grpc-11.8.5.dist-info → clarifai_grpc-11.9.0.dist-info}/WHEEL +0 -0
- {clarifai_grpc-11.8.5.dist-info → clarifai_grpc-11.9.0.dist-info}/licenses/LICENSE +0 -0
- {clarifai_grpc-11.8.5.dist-info → clarifai_grpc-11.9.0.dist-info}/top_level.txt +0 -0
|
@@ -3049,6 +3049,7 @@ class FrameInfo(google.protobuf.message.Message):
|
|
|
3049
3049
|
|
|
3050
3050
|
INDEX_FIELD_NUMBER: builtins.int
|
|
3051
3051
|
TIME_FIELD_NUMBER: builtins.int
|
|
3052
|
+
NUMBER_FIELD_NUMBER: builtins.int
|
|
3052
3053
|
index: builtins.int
|
|
3053
3054
|
"""Deprecated. Use Time instead.
|
|
3054
3055
|
The index of the frame, informational and optional.
|
|
@@ -3059,14 +3060,22 @@ class FrameInfo(google.protobuf.message.Message):
|
|
|
3059
3060
|
"""time in the video in milliseconds. This is independent of the sampling rates used during
|
|
3060
3061
|
processing.
|
|
3061
3062
|
"""
|
|
3063
|
+
number: builtins.int
|
|
3064
|
+
"""The absolute number of the frame in the (original) video
|
|
3065
|
+
Different from index. Index is just the order in which frames were processed for search (and can be 0 for manual annotations)
|
|
3066
|
+
"""
|
|
3062
3067
|
def __init__(
|
|
3063
3068
|
self,
|
|
3064
3069
|
*,
|
|
3065
3070
|
index: builtins.int = ...,
|
|
3066
3071
|
time: builtins.int = ...,
|
|
3072
|
+
number: builtins.int = ...,
|
|
3067
3073
|
) -> None: ...
|
|
3068
3074
|
def ClearField(
|
|
3069
|
-
self,
|
|
3075
|
+
self,
|
|
3076
|
+
field_name: typing_extensions.Literal[
|
|
3077
|
+
"index", b"index", "number", b"number", "time", b"time"
|
|
3078
|
+
],
|
|
3070
3079
|
) -> None: ...
|
|
3071
3080
|
|
|
3072
3081
|
global___FrameInfo = FrameInfo
|
|
@@ -14210,14 +14219,41 @@ class BookmarkOrigin(google.protobuf.message.Message):
|
|
|
14210
14219
|
global___BookmarkOrigin = BookmarkOrigin
|
|
14211
14220
|
|
|
14212
14221
|
@typing_extensions.final
|
|
14213
|
-
class
|
|
14222
|
+
class RunnerMetrics(google.protobuf.message.Message):
|
|
14214
14223
|
"""Moving the runner label matching into it's own object so that it can be used
|
|
14215
14224
|
next to other resource types that a Runner might match work on.
|
|
14216
14225
|
message RunnerLabels { // FUTURE
|
|
14217
14226
|
repeated string labels = 1;
|
|
14218
14227
|
}
|
|
14219
14228
|
|
|
14220
|
-
|
|
14229
|
+
RunnerMetrics captures metrics and status for a Runner's underlying k8s deployment.
|
|
14230
|
+
This allows tracking of deployment health, replica counts, and other relevant metrics.
|
|
14231
|
+
"""
|
|
14232
|
+
|
|
14233
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
14234
|
+
|
|
14235
|
+
PODS_TOTAL_FIELD_NUMBER: builtins.int
|
|
14236
|
+
PODS_RUNNING_FIELD_NUMBER: builtins.int
|
|
14237
|
+
pods_total: builtins.int
|
|
14238
|
+
pods_running: builtins.int
|
|
14239
|
+
def __init__(
|
|
14240
|
+
self,
|
|
14241
|
+
*,
|
|
14242
|
+
pods_total: builtins.int = ...,
|
|
14243
|
+
pods_running: builtins.int = ...,
|
|
14244
|
+
) -> None: ...
|
|
14245
|
+
def ClearField(
|
|
14246
|
+
self,
|
|
14247
|
+
field_name: typing_extensions.Literal[
|
|
14248
|
+
"pods_running", b"pods_running", "pods_total", b"pods_total"
|
|
14249
|
+
],
|
|
14250
|
+
) -> None: ...
|
|
14251
|
+
|
|
14252
|
+
global___RunnerMetrics = RunnerMetrics
|
|
14253
|
+
|
|
14254
|
+
@typing_extensions.final
|
|
14255
|
+
class Runner(google.protobuf.message.Message):
|
|
14256
|
+
"""A worker for compute within a nodepool of instances.
|
|
14221
14257
|
This asks the API for work
|
|
14222
14258
|
"""
|
|
14223
14259
|
|
|
@@ -14234,6 +14270,7 @@ class Runner(google.protobuf.message.Message):
|
|
|
14234
14270
|
COMPUTE_INFO_FIELD_NUMBER: builtins.int
|
|
14235
14271
|
NUM_REPLICAS_FIELD_NUMBER: builtins.int
|
|
14236
14272
|
SPECIAL_HANDLING_FIELD_NUMBER: builtins.int
|
|
14273
|
+
RUNNER_METRICS_FIELD_NUMBER: builtins.int
|
|
14237
14274
|
id: builtins.str
|
|
14238
14275
|
"""A unique ID for this runner.
|
|
14239
14276
|
This is a UUID since runners can be automatically orchestrated.
|
|
@@ -14291,6 +14328,11 @@ class Runner(google.protobuf.message.Message):
|
|
|
14291
14328
|
global___SpecialHandling
|
|
14292
14329
|
]:
|
|
14293
14330
|
"""List of special handling instructions for this runner."""
|
|
14331
|
+
@property
|
|
14332
|
+
def runner_metrics(self) -> global___RunnerMetrics:
|
|
14333
|
+
"""Metrics and status for the underlying k8s deployment.
|
|
14334
|
+
Each Runner is 1:1 with a k8s deployment, so this field tracks deployment health and metrics.
|
|
14335
|
+
"""
|
|
14294
14336
|
def __init__(
|
|
14295
14337
|
self,
|
|
14296
14338
|
*,
|
|
@@ -14305,6 +14347,7 @@ class Runner(google.protobuf.message.Message):
|
|
|
14305
14347
|
compute_info: global___ComputeInfo | None = ...,
|
|
14306
14348
|
num_replicas: builtins.int = ...,
|
|
14307
14349
|
special_handling: collections.abc.Iterable[global___SpecialHandling] | None = ...,
|
|
14350
|
+
runner_metrics: global___RunnerMetrics | None = ...,
|
|
14308
14351
|
) -> None: ...
|
|
14309
14352
|
def HasField(
|
|
14310
14353
|
self,
|
|
@@ -14319,6 +14362,8 @@ class Runner(google.protobuf.message.Message):
|
|
|
14319
14362
|
b"modified_at",
|
|
14320
14363
|
"nodepool",
|
|
14321
14364
|
b"nodepool",
|
|
14365
|
+
"runner_metrics",
|
|
14366
|
+
b"runner_metrics",
|
|
14322
14367
|
"worker",
|
|
14323
14368
|
b"worker",
|
|
14324
14369
|
],
|
|
@@ -14344,6 +14389,8 @@ class Runner(google.protobuf.message.Message):
|
|
|
14344
14389
|
b"nodepool",
|
|
14345
14390
|
"num_replicas",
|
|
14346
14391
|
b"num_replicas",
|
|
14392
|
+
"runner_metrics",
|
|
14393
|
+
b"runner_metrics",
|
|
14347
14394
|
"special_handling",
|
|
14348
14395
|
b"special_handling",
|
|
14349
14396
|
"worker",
|