clarifai-grpc 11.10.9__py3-none-any.whl → 11.11.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 +442 -438
- clarifai_grpc/grpc/api/resources_pb2.pyi +201 -0
- clarifai_grpc/grpc/api/service_pb2.py +901 -841
- clarifai_grpc/grpc/api/service_pb2.pyi +657 -2
- clarifai_grpc/grpc/api/service_pb2_grpc.py +369 -0
- clarifai_grpc/grpc/api/status/status_code_pb2.py +2 -2
- clarifai_grpc/grpc/api/status/status_code_pb2.pyi +28 -0
- clarifai_grpc/grpc/auth/scope/scope_pb2.py +10 -2
- clarifai_grpc/grpc/auth/scope/scope_pb2.pyi +8 -0
- {clarifai_grpc-11.10.9.dist-info → clarifai_grpc-11.11.0.dist-info}/METADATA +1 -1
- {clarifai_grpc-11.10.9.dist-info → clarifai_grpc-11.11.0.dist-info}/RECORD +15 -15
- {clarifai_grpc-11.10.9.dist-info → clarifai_grpc-11.11.0.dist-info}/WHEEL +0 -0
- {clarifai_grpc-11.10.9.dist-info → clarifai_grpc-11.11.0.dist-info}/licenses/LICENSE +0 -0
- {clarifai_grpc-11.10.9.dist-info → clarifai_grpc-11.11.0.dist-info}/top_level.txt +0 -0
|
@@ -277,6 +277,8 @@ class _DeployRestrictionEnumTypeWrapper(
|
|
|
277
277
|
"""Model can only be used on shared compute resources."""
|
|
278
278
|
DEDICATED_COMPUTE_ONLY: _DeployRestriction.ValueType # 3
|
|
279
279
|
"""Model can only be used on dedicated compute resources."""
|
|
280
|
+
MODEL_OWNER_DEDICATED_COMPUTE_ONLY: _DeployRestriction.ValueType # 4
|
|
281
|
+
"""Model can only be used on dedicated compute resources owned by the model owner."""
|
|
280
282
|
|
|
281
283
|
class DeployRestriction(_DeployRestriction, metaclass=_DeployRestrictionEnumTypeWrapper): ...
|
|
282
284
|
|
|
@@ -288,6 +290,8 @@ SHARED_COMPUTE_ONLY: DeployRestriction.ValueType # 2
|
|
|
288
290
|
"""Model can only be used on shared compute resources."""
|
|
289
291
|
DEDICATED_COMPUTE_ONLY: DeployRestriction.ValueType # 3
|
|
290
292
|
"""Model can only be used on dedicated compute resources."""
|
|
293
|
+
MODEL_OWNER_DEDICATED_COMPUTE_ONLY: DeployRestriction.ValueType # 4
|
|
294
|
+
"""Model can only be used on dedicated compute resources owned by the model owner."""
|
|
291
295
|
global___DeployRestriction = DeployRestriction
|
|
292
296
|
|
|
293
297
|
class _DataType:
|
|
@@ -6865,18 +6869,22 @@ class BuildInfo(google.protobuf.message.Message):
|
|
|
6865
6869
|
DOCKER_IMAGE_NAME_FIELD_NUMBER: builtins.int
|
|
6866
6870
|
DOCKER_IMAGE_TAG_FIELD_NUMBER: builtins.int
|
|
6867
6871
|
DOCKER_IMAGE_DIGEST_FIELD_NUMBER: builtins.int
|
|
6872
|
+
PLATFORM_FIELD_NUMBER: builtins.int
|
|
6868
6873
|
docker_image_name: builtins.str
|
|
6869
6874
|
"""Docker image name"""
|
|
6870
6875
|
docker_image_tag: builtins.str
|
|
6871
6876
|
"""Docker image tag"""
|
|
6872
6877
|
docker_image_digest: builtins.str
|
|
6873
6878
|
"""Docker image digest"""
|
|
6879
|
+
platform: builtins.str
|
|
6880
|
+
"""Platform(s) the model was built for (e.g., "linux/amd64,linux/arm64")"""
|
|
6874
6881
|
def __init__(
|
|
6875
6882
|
self,
|
|
6876
6883
|
*,
|
|
6877
6884
|
docker_image_name: builtins.str = ...,
|
|
6878
6885
|
docker_image_tag: builtins.str = ...,
|
|
6879
6886
|
docker_image_digest: builtins.str = ...,
|
|
6887
|
+
platform: builtins.str = ...,
|
|
6880
6888
|
) -> None: ...
|
|
6881
6889
|
def ClearField(
|
|
6882
6890
|
self,
|
|
@@ -6887,6 +6895,8 @@ class BuildInfo(google.protobuf.message.Message):
|
|
|
6887
6895
|
b"docker_image_name",
|
|
6888
6896
|
"docker_image_tag",
|
|
6889
6897
|
b"docker_image_tag",
|
|
6898
|
+
"platform",
|
|
6899
|
+
b"platform",
|
|
6890
6900
|
],
|
|
6891
6901
|
) -> None: ...
|
|
6892
6902
|
|
|
@@ -14469,6 +14479,7 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14469
14479
|
ALLOWED_CAPACITY_TYPES_FIELD_NUMBER: builtins.int
|
|
14470
14480
|
FEATURE_FLAG_GROUP_FIELD_NUMBER: builtins.int
|
|
14471
14481
|
SPECIAL_HANDLING_FIELD_NUMBER: builtins.int
|
|
14482
|
+
ARCHITECTURE_FIELD_NUMBER: builtins.int
|
|
14472
14483
|
id: builtins.str
|
|
14473
14484
|
description: builtins.str
|
|
14474
14485
|
"""Short description of instance type."""
|
|
@@ -14492,6 +14503,8 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14492
14503
|
global___SpecialHandling
|
|
14493
14504
|
]:
|
|
14494
14505
|
"""List of special handling instructions for this instance type."""
|
|
14506
|
+
architecture: builtins.str
|
|
14507
|
+
"""Hardware architecture of the instance type (e.g., "linux/amd64", "linux/arm64")."""
|
|
14495
14508
|
def __init__(
|
|
14496
14509
|
self,
|
|
14497
14510
|
*,
|
|
@@ -14504,6 +14517,7 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14504
14517
|
allowed_capacity_types: global___NodeCapacityType | None = ...,
|
|
14505
14518
|
feature_flag_group: builtins.str = ...,
|
|
14506
14519
|
special_handling: collections.abc.Iterable[global___SpecialHandling] | None = ...,
|
|
14520
|
+
architecture: builtins.str = ...,
|
|
14507
14521
|
) -> None: ...
|
|
14508
14522
|
def HasField(
|
|
14509
14523
|
self,
|
|
@@ -14521,6 +14535,8 @@ class InstanceType(google.protobuf.message.Message):
|
|
|
14521
14535
|
field_name: typing_extensions.Literal[
|
|
14522
14536
|
"allowed_capacity_types",
|
|
14523
14537
|
b"allowed_capacity_types",
|
|
14538
|
+
"architecture",
|
|
14539
|
+
b"architecture",
|
|
14524
14540
|
"cloud_provider",
|
|
14525
14541
|
b"cloud_provider",
|
|
14526
14542
|
"compute_info",
|
|
@@ -17724,3 +17740,188 @@ class MetricTypeLabels(google.protobuf.message.Message):
|
|
|
17724
17740
|
) -> None: ...
|
|
17725
17741
|
|
|
17726
17742
|
global___MetricTypeLabels = MetricTypeLabels
|
|
17743
|
+
|
|
17744
|
+
@typing_extensions.final
|
|
17745
|
+
class Artifact(google.protobuf.message.Message):
|
|
17746
|
+
"""Artifact is a resource that represents a file stored in Clarifai's storage system.
|
|
17747
|
+
It should have a reference to upload resource which contains the actual file location and metadata.
|
|
17748
|
+
"""
|
|
17749
|
+
|
|
17750
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17751
|
+
|
|
17752
|
+
ID_FIELD_NUMBER: builtins.int
|
|
17753
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
17754
|
+
APP_ID_FIELD_NUMBER: builtins.int
|
|
17755
|
+
ARTIFACT_VERSION_FIELD_NUMBER: builtins.int
|
|
17756
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
17757
|
+
MODIFIED_AT_FIELD_NUMBER: builtins.int
|
|
17758
|
+
DELETED_AT_FIELD_NUMBER: builtins.int
|
|
17759
|
+
id: builtins.str
|
|
17760
|
+
"""ID of artifact"""
|
|
17761
|
+
user_id: builtins.str
|
|
17762
|
+
"""User ID that this Artifact belongs to"""
|
|
17763
|
+
app_id: builtins.str
|
|
17764
|
+
"""Application ID that this Artifact belongs to"""
|
|
17765
|
+
@property
|
|
17766
|
+
def artifact_version(self) -> global___ArtifactVersion:
|
|
17767
|
+
"""Reference to the artifact version resource that represents a specific version of the artifact"""
|
|
17768
|
+
@property
|
|
17769
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
17770
|
+
"""When the artifact was created."""
|
|
17771
|
+
@property
|
|
17772
|
+
def modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
17773
|
+
"""Most recent time when the artifact was updated."""
|
|
17774
|
+
@property
|
|
17775
|
+
def deleted_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
17776
|
+
"""When the artifact was deleted."""
|
|
17777
|
+
def __init__(
|
|
17778
|
+
self,
|
|
17779
|
+
*,
|
|
17780
|
+
id: builtins.str = ...,
|
|
17781
|
+
user_id: builtins.str = ...,
|
|
17782
|
+
app_id: builtins.str = ...,
|
|
17783
|
+
artifact_version: global___ArtifactVersion | None = ...,
|
|
17784
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17785
|
+
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17786
|
+
deleted_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17787
|
+
) -> None: ...
|
|
17788
|
+
def HasField(
|
|
17789
|
+
self,
|
|
17790
|
+
field_name: typing_extensions.Literal[
|
|
17791
|
+
"artifact_version",
|
|
17792
|
+
b"artifact_version",
|
|
17793
|
+
"created_at",
|
|
17794
|
+
b"created_at",
|
|
17795
|
+
"deleted_at",
|
|
17796
|
+
b"deleted_at",
|
|
17797
|
+
"modified_at",
|
|
17798
|
+
b"modified_at",
|
|
17799
|
+
],
|
|
17800
|
+
) -> builtins.bool: ...
|
|
17801
|
+
def ClearField(
|
|
17802
|
+
self,
|
|
17803
|
+
field_name: typing_extensions.Literal[
|
|
17804
|
+
"app_id",
|
|
17805
|
+
b"app_id",
|
|
17806
|
+
"artifact_version",
|
|
17807
|
+
b"artifact_version",
|
|
17808
|
+
"created_at",
|
|
17809
|
+
b"created_at",
|
|
17810
|
+
"deleted_at",
|
|
17811
|
+
b"deleted_at",
|
|
17812
|
+
"id",
|
|
17813
|
+
b"id",
|
|
17814
|
+
"modified_at",
|
|
17815
|
+
b"modified_at",
|
|
17816
|
+
"user_id",
|
|
17817
|
+
b"user_id",
|
|
17818
|
+
],
|
|
17819
|
+
) -> None: ...
|
|
17820
|
+
|
|
17821
|
+
global___Artifact = Artifact
|
|
17822
|
+
|
|
17823
|
+
@typing_extensions.final
|
|
17824
|
+
class ArtifactVersion(google.protobuf.message.Message):
|
|
17825
|
+
"""ArtifactVersion represents a specific version of the artifact."""
|
|
17826
|
+
|
|
17827
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17828
|
+
|
|
17829
|
+
ID_FIELD_NUMBER: builtins.int
|
|
17830
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
17831
|
+
ARTIFACT_FIELD_NUMBER: builtins.int
|
|
17832
|
+
UPLOAD_FIELD_NUMBER: builtins.int
|
|
17833
|
+
VISIBILITY_FIELD_NUMBER: builtins.int
|
|
17834
|
+
EXPIRES_AT_FIELD_NUMBER: builtins.int
|
|
17835
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
17836
|
+
MODIFIED_AT_FIELD_NUMBER: builtins.int
|
|
17837
|
+
DELETED_AT_FIELD_NUMBER: builtins.int
|
|
17838
|
+
id: builtins.str
|
|
17839
|
+
"""ID of artifact version"""
|
|
17840
|
+
description: builtins.str
|
|
17841
|
+
"""Description of the artifact version"""
|
|
17842
|
+
@property
|
|
17843
|
+
def artifact(self) -> global___Artifact:
|
|
17844
|
+
"""Reference to the artifact resource"""
|
|
17845
|
+
@property
|
|
17846
|
+
def upload(self) -> global___Upload:
|
|
17847
|
+
"""Reference to the upload resource which contains the actual file location and metadata"""
|
|
17848
|
+
@property
|
|
17849
|
+
def visibility(self) -> global___Visibility:
|
|
17850
|
+
"""The visibility field represents whether this is privately/publicly visible.
|
|
17851
|
+
To be visible to the public the App that contains it AND the User that contains the App must
|
|
17852
|
+
also be publicly visible.
|
|
17853
|
+
"""
|
|
17854
|
+
@property
|
|
17855
|
+
def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
17856
|
+
"""When the artifact version will expire and be deleted.
|
|
17857
|
+
The format is https://www.ietf.org/rfc/rfc3339.txt.
|
|
17858
|
+
Example: "2006-01-02T15:04:05.999999Z".
|
|
17859
|
+
If not set, the artifact version will be retained indefinitely
|
|
17860
|
+
and will not be automatically deleted by lifecycle policies.
|
|
17861
|
+
"""
|
|
17862
|
+
@property
|
|
17863
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
17864
|
+
"""When the artifact version was created."""
|
|
17865
|
+
@property
|
|
17866
|
+
def modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
17867
|
+
"""Most recent time when the artifact version was updated."""
|
|
17868
|
+
@property
|
|
17869
|
+
def deleted_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
17870
|
+
"""When the artifact version was deleted."""
|
|
17871
|
+
def __init__(
|
|
17872
|
+
self,
|
|
17873
|
+
*,
|
|
17874
|
+
id: builtins.str = ...,
|
|
17875
|
+
description: builtins.str = ...,
|
|
17876
|
+
artifact: global___Artifact | None = ...,
|
|
17877
|
+
upload: global___Upload | None = ...,
|
|
17878
|
+
visibility: global___Visibility | None = ...,
|
|
17879
|
+
expires_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17880
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17881
|
+
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17882
|
+
deleted_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
17883
|
+
) -> None: ...
|
|
17884
|
+
def HasField(
|
|
17885
|
+
self,
|
|
17886
|
+
field_name: typing_extensions.Literal[
|
|
17887
|
+
"artifact",
|
|
17888
|
+
b"artifact",
|
|
17889
|
+
"created_at",
|
|
17890
|
+
b"created_at",
|
|
17891
|
+
"deleted_at",
|
|
17892
|
+
b"deleted_at",
|
|
17893
|
+
"expires_at",
|
|
17894
|
+
b"expires_at",
|
|
17895
|
+
"modified_at",
|
|
17896
|
+
b"modified_at",
|
|
17897
|
+
"upload",
|
|
17898
|
+
b"upload",
|
|
17899
|
+
"visibility",
|
|
17900
|
+
b"visibility",
|
|
17901
|
+
],
|
|
17902
|
+
) -> builtins.bool: ...
|
|
17903
|
+
def ClearField(
|
|
17904
|
+
self,
|
|
17905
|
+
field_name: typing_extensions.Literal[
|
|
17906
|
+
"artifact",
|
|
17907
|
+
b"artifact",
|
|
17908
|
+
"created_at",
|
|
17909
|
+
b"created_at",
|
|
17910
|
+
"deleted_at",
|
|
17911
|
+
b"deleted_at",
|
|
17912
|
+
"description",
|
|
17913
|
+
b"description",
|
|
17914
|
+
"expires_at",
|
|
17915
|
+
b"expires_at",
|
|
17916
|
+
"id",
|
|
17917
|
+
b"id",
|
|
17918
|
+
"modified_at",
|
|
17919
|
+
b"modified_at",
|
|
17920
|
+
"upload",
|
|
17921
|
+
b"upload",
|
|
17922
|
+
"visibility",
|
|
17923
|
+
b"visibility",
|
|
17924
|
+
],
|
|
17925
|
+
) -> None: ...
|
|
17926
|
+
|
|
17927
|
+
global___ArtifactVersion = ArtifactVersion
|