Skip to content

Commit 1f7baec

Browse files
committed
GRPC clients version 11.11.2
1 parent 81ff1b4 commit 1f7baec

File tree

5 files changed

+785
-696
lines changed

5 files changed

+785
-696
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.11.0"
1+
__version__ = "11.11.2"
22

33
import os
44

clarifai_grpc/grpc/api/resources_pb2.py

Lines changed: 491 additions & 489 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: 72 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5273,10 +5273,12 @@ class SpecialHandling(google.protobuf.message.Message):
52735273
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
52745274
REASON_NOT_SET: SpecialHandling._Reason.ValueType # 0
52755275
CONTACT_SALES: SpecialHandling._Reason.ValueType # 1
5276+
INTERNAL_ONLY: SpecialHandling._Reason.ValueType # 2
52765277

52775278
class Reason(_Reason, metaclass=_ReasonEnumTypeWrapper): ...
52785279
REASON_NOT_SET: SpecialHandling.Reason.ValueType # 0
52795280
CONTACT_SALES: SpecialHandling.Reason.ValueType # 1
5281+
INTERNAL_ONLY: SpecialHandling.Reason.ValueType # 2
52805282

52815283
ID_FIELD_NUMBER: builtins.int
52825284
REASON_FIELD_NUMBER: builtins.int
@@ -9009,6 +9011,7 @@ class UserDetail(google.protobuf.message.Message):
90099011
COUNTRY_FIELD_NUMBER: builtins.int
90109012
STATE_FIELD_NUMBER: builtins.int
90119013
COMMITMENT_VALUE_FIELD_NUMBER: builtins.int
9014+
PHONE_VERIFIED_FIELD_NUMBER: builtins.int
90129015
primary_email: builtins.str
90139016
bill_type: builtins.str
90149017
@property
@@ -9036,6 +9039,8 @@ class UserDetail(google.protobuf.message.Message):
90369039
state: builtins.str
90379040
@property
90389041
def commitment_value(self) -> global___CommitmentValue: ...
9042+
phone_verified: builtins.bool
9043+
"""For phone number verification, true if the phone number has been verified"""
90399044
def __init__(
90409045
self,
90419046
*,
@@ -9052,6 +9057,7 @@ class UserDetail(google.protobuf.message.Message):
90529057
country: builtins.str = ...,
90539058
state: builtins.str = ...,
90549059
commitment_value: global___CommitmentValue | None = ...,
9060+
phone_verified: builtins.bool = ...,
90559061
) -> None: ...
90569062
def HasField(
90579063
self,
@@ -9091,6 +9097,8 @@ class UserDetail(google.protobuf.message.Message):
90919097
b"email_addresses",
90929098
"metadata",
90939099
b"metadata",
9100+
"phone_verified",
9101+
b"phone_verified",
90949102
"primary_email",
90959103
b"primary_email",
90969104
"state",
@@ -14480,6 +14488,7 @@ class InstanceType(google.protobuf.message.Message):
1448014488
FEATURE_FLAG_GROUP_FIELD_NUMBER: builtins.int
1448114489
SPECIAL_HANDLING_FIELD_NUMBER: builtins.int
1448214490
ARCHITECTURE_FIELD_NUMBER: builtins.int
14491+
AVAILABLE_COMPUTE_INFO_FIELD_NUMBER: builtins.int
1448314492
id: builtins.str
1448414493
description: builtins.str
1448514494
"""Short description of instance type."""
@@ -14505,6 +14514,11 @@ class InstanceType(google.protobuf.message.Message):
1450514514
"""List of special handling instructions for this instance type."""
1450614515
architecture: builtins.str
1450714516
"""Hardware architecture of the instance type (e.g., "linux/amd64", "linux/arm64")."""
14517+
@property
14518+
def available_compute_info(self) -> global___ComputeInfo:
14519+
"""Available compute info after accounting for system overhead (daemonsets, kubelet, etc.).
14520+
This represents the actual resources available for user workloads.
14521+
"""
1450814522
def __init__(
1450914523
self,
1451014524
*,
@@ -14518,12 +14532,15 @@ class InstanceType(google.protobuf.message.Message):
1451814532
feature_flag_group: builtins.str = ...,
1451914533
special_handling: collections.abc.Iterable[global___SpecialHandling] | None = ...,
1452014534
architecture: builtins.str = ...,
14535+
available_compute_info: global___ComputeInfo | None = ...,
1452114536
) -> None: ...
1452214537
def HasField(
1452314538
self,
1452414539
field_name: typing_extensions.Literal[
1452514540
"allowed_capacity_types",
1452614541
b"allowed_capacity_types",
14542+
"available_compute_info",
14543+
b"available_compute_info",
1452714544
"cloud_provider",
1452814545
b"cloud_provider",
1452914546
"compute_info",
@@ -14537,6 +14554,8 @@ class InstanceType(google.protobuf.message.Message):
1453714554
b"allowed_capacity_types",
1453814555
"architecture",
1453914556
b"architecture",
14557+
"available_compute_info",
14558+
b"available_compute_info",
1454014559
"cloud_provider",
1454114560
b"cloud_provider",
1454214561
"compute_info",
@@ -14568,22 +14587,66 @@ class CloudProvider(google.protobuf.message.Message):
1456814587

1456914588
ID_FIELD_NUMBER: builtins.int
1457014589
NAME_FIELD_NUMBER: builtins.int
14590+
SPECIAL_HANDLING_FIELD_NUMBER: builtins.int
1457114591
id: builtins.str
1457214592
"""Unique identifier of the cloud provider."""
1457314593
name: builtins.str
1457414594
"""Name of the cloud provider."""
14595+
@property
14596+
def special_handling(
14597+
self,
14598+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
14599+
global___SpecialHandling
14600+
]:
14601+
"""List of special handling instructions for this cloud provider."""
1457514602
def __init__(
1457614603
self,
1457714604
*,
1457814605
id: builtins.str = ...,
1457914606
name: builtins.str = ...,
14607+
special_handling: collections.abc.Iterable[global___SpecialHandling] | None = ...,
1458014608
) -> None: ...
1458114609
def ClearField(
14582-
self, field_name: typing_extensions.Literal["id", b"id", "name", b"name"]
14610+
self,
14611+
field_name: typing_extensions.Literal[
14612+
"id", b"id", "name", b"name", "special_handling", b"special_handling"
14613+
],
1458314614
) -> None: ...
1458414615

1458514616
global___CloudProvider = CloudProvider
1458614617

14618+
@typing_extensions.final
14619+
class CloudRegion(google.protobuf.message.Message):
14620+
"""CloudRegion represents a region where compute resources can be deployed."""
14621+
14622+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
14623+
14624+
ID_FIELD_NUMBER: builtins.int
14625+
SPECIAL_HANDLING_FIELD_NUMBER: builtins.int
14626+
id: builtins.str
14627+
"""Unique identifier of the region."""
14628+
@property
14629+
def special_handling(
14630+
self,
14631+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
14632+
global___SpecialHandling
14633+
]:
14634+
"""List of special handling instructions for this region."""
14635+
def __init__(
14636+
self,
14637+
*,
14638+
id: builtins.str = ...,
14639+
special_handling: collections.abc.Iterable[global___SpecialHandling] | None = ...,
14640+
) -> None: ...
14641+
def ClearField(
14642+
self,
14643+
field_name: typing_extensions.Literal[
14644+
"id", b"id", "special_handling", b"special_handling"
14645+
],
14646+
) -> None: ...
14647+
14648+
global___CloudRegion = CloudRegion
14649+
1458714650
@typing_extensions.final
1458814651
class ComputeCluster(google.protobuf.message.Message):
1458914652
"""We define a cluster here to be used in Nodepools and by the cloud provider.
@@ -14973,6 +15036,7 @@ class Deployment(google.protobuf.message.Message):
1497315036
METADATA_FIELD_NUMBER: builtins.int
1497415037
DESCRIPTION_FIELD_NUMBER: builtins.int
1497515038
WORKER_FIELD_NUMBER: builtins.int
15039+
DESIRED_WORKER_FIELD_NUMBER: builtins.int
1497615040
CREATED_AT_FIELD_NUMBER: builtins.int
1497715041
MODIFIED_AT_FIELD_NUMBER: builtins.int
1497815042
DEPLOY_LATEST_VERSION_FIELD_NUMBER: builtins.int
@@ -15016,6 +15080,8 @@ class Deployment(google.protobuf.message.Message):
1501615080
For a given user_id, nodepool_id, and object ID we can only have one deployment as it defines
1501715081
"""
1501815082
@property
15083+
def desired_worker(self) -> global___Worker: ...
15084+
@property
1501915085
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
1502015086
"""When the deployment was created."""
1502115087
@property
@@ -15042,6 +15108,7 @@ class Deployment(google.protobuf.message.Message):
1504215108
metadata: google.protobuf.struct_pb2.Struct | None = ...,
1504315109
description: builtins.str = ...,
1504415110
worker: global___Worker | None = ...,
15111+
desired_worker: global___Worker | None = ...,
1504515112
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1504615113
modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1504715114
deploy_latest_version: builtins.bool = ...,
@@ -15054,6 +15121,8 @@ class Deployment(google.protobuf.message.Message):
1505415121
b"autoscale_config",
1505515122
"created_at",
1505615123
b"created_at",
15124+
"desired_worker",
15125+
b"desired_worker",
1505715126
"metadata",
1505815127
b"metadata",
1505915128
"modified_at",
@@ -15075,6 +15144,8 @@ class Deployment(google.protobuf.message.Message):
1507515144
b"deploy_latest_version",
1507615145
"description",
1507715146
b"description",
15147+
"desired_worker",
15148+
b"desired_worker",
1507815149
"id",
1507915150
b"id",
1508015151
"metadata",

clarifai_grpc/grpc/api/service_pb2.py

Lines changed: 206 additions & 204 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clarifai_grpc/grpc/api/service_pb2.pyi

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ class Pagination(google.protobuf.message.Message):
184184
PAGE_FIELD_NUMBER: builtins.int
185185
PER_PAGE_FIELD_NUMBER: builtins.int
186186
page: builtins.int
187+
"""(optional URL parameter) The page number. Pagination is used to split the results into chunks. Defaults to 1."""
187188
per_page: builtins.int
189+
"""(optional URL parameter) The number of results that will be contained in each page. Defaults to 128."""
188190
def __init__(
189191
self,
190192
*,
@@ -15106,23 +15108,35 @@ class MultiCloudRegionResponse(google.protobuf.message.Message):
1510615108

1510715109
STATUS_FIELD_NUMBER: builtins.int
1510815110
REGIONS_FIELD_NUMBER: builtins.int
15111+
CLOUD_REGIONS_FIELD_NUMBER: builtins.int
1510915112
@property
1511015113
def status(self) -> proto.clarifai.api.status.status_pb2.Status: ...
1511115114
@property
1511215115
def regions(
1511315116
self,
1511415117
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
15118+
@property
15119+
def cloud_regions(
15120+
self,
15121+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
15122+
proto.clarifai.api.resources_pb2.CloudRegion
15123+
]: ...
1511515124
def __init__(
1511615125
self,
1511715126
*,
1511815127
status: proto.clarifai.api.status.status_pb2.Status | None = ...,
1511915128
regions: collections.abc.Iterable[builtins.str] | None = ...,
15129+
cloud_regions: collections.abc.Iterable[proto.clarifai.api.resources_pb2.CloudRegion]
15130+
| None = ...,
1512015131
) -> None: ...
1512115132
def HasField(
1512215133
self, field_name: typing_extensions.Literal["status", b"status"]
1512315134
) -> builtins.bool: ...
1512415135
def ClearField(
15125-
self, field_name: typing_extensions.Literal["regions", b"regions", "status", b"status"]
15136+
self,
15137+
field_name: typing_extensions.Literal[
15138+
"cloud_regions", b"cloud_regions", "regions", b"regions", "status", b"status"
15139+
],
1512615140
) -> None: ...
1512715141

1512815142
global___MultiCloudRegionResponse = MultiCloudRegionResponse

0 commit comments

Comments
 (0)