Skip to content

Commit

Permalink
GRPC clients version 9.10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
clarifai-prod committed Nov 27, 2023
1 parent 1473d35 commit 9b09157
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 18 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.10.5
9.10.6
2 changes: 1 addition & 1 deletion clarifai_grpc/channel/http_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from clarifai_grpc.channel.errors import ApiError

CLIENT_VERSION = "9.10.5"
CLIENT_VERSION = "9.10.6"
OS_VER = os.sys.platform
PYTHON_VERSION = ".".join(
map(
Expand Down
4 changes: 2 additions & 2 deletions clarifai_grpc/grpc/api/status/status_code_pb2.py

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions clarifai_grpc/grpc/api/status/status_code_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ class _StatusCodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._Enu
NOT_IMPLEMENTED: _StatusCode.ValueType # 10040
MOVED: _StatusCode.ValueType # 10050
"""Resource moved. Respond with Http status 307 and add new Location header to response"""
CONN_ACCOUNT_ISSUES: _StatusCode.ValueType # 11000
TEAPOT: _StatusCode.ValueType # 10060
"""SUCCESS_WARNING_API_DEPRECATED = 10001;
SUCCESS_WARNING_CLIENT_DEPRECATED = 10002;
Clarifai Connection Codes: 11xxx
"""
CONN_ACCOUNT_ISSUES: _StatusCode.ValueType # 11000
"""Clarifai Connection Codes: 11xxx
expired cc, still in trial, feature not supported in your tier
"""
CONN_TOKEN_INVALID: _StatusCode.ValueType # 11001
Expand Down Expand Up @@ -522,11 +523,12 @@ TRY_AGAIN: StatusCode.ValueType # 10030
NOT_IMPLEMENTED: StatusCode.ValueType # 10040
MOVED: StatusCode.ValueType # 10050
"""Resource moved. Respond with Http status 307 and add new Location header to response"""
CONN_ACCOUNT_ISSUES: StatusCode.ValueType # 11000
TEAPOT: StatusCode.ValueType # 10060
"""SUCCESS_WARNING_API_DEPRECATED = 10001;
SUCCESS_WARNING_CLIENT_DEPRECATED = 10002;
Clarifai Connection Codes: 11xxx
"""
CONN_ACCOUNT_ISSUES: StatusCode.ValueType # 11000
"""Clarifai Connection Codes: 11xxx
expired cc, still in trial, feature not supported in your tier
"""
CONN_TOKEN_INVALID: StatusCode.ValueType # 11001
Expand Down
12 changes: 6 additions & 6 deletions clarifai_grpc/grpc/api/status/status_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion clarifai_grpc/grpc/api/status/status_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Status(google.protobuf.message.Message):
REQ_ID_FIELD_NUMBER: builtins.int
INTERNAL_DETAILS_FIELD_NUMBER: builtins.int
REDIRECT_INFO_FIELD_NUMBER: builtins.int
DEVELOPER_NOTES_FIELD_NUMBER: builtins.int
code: proto.clarifai.api.status.status_code_pb2.StatusCode.ValueType
"""Status code from internal codes."""
description: builtins.str
Expand All @@ -52,6 +53,8 @@ class Status(google.protobuf.message.Message):
@property
def redirect_info(self) -> global___RedirectInfo:
"""Resource location info for redirect, when resource location has been changed."""
developer_notes: builtins.str
"""Notes for developer."""
def __init__(
self,
*,
Expand All @@ -64,9 +67,10 @@ class Status(google.protobuf.message.Message):
req_id: builtins.str = ...,
internal_details: builtins.str = ...,
redirect_info: global___RedirectInfo | None = ...,
developer_notes: builtins.str = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["redirect_info", b"redirect_info"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["code", b"code", "description", b"description", "details", b"details", "internal_details", b"internal_details", "percent_completed", b"percent_completed", "redirect_info", b"redirect_info", "req_id", b"req_id", "stack_trace", b"stack_trace", "time_remaining", b"time_remaining"]) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["code", b"code", "description", b"description", "details", b"details", "developer_notes", b"developer_notes", "internal_details", b"internal_details", "percent_completed", b"percent_completed", "redirect_info", b"redirect_info", "req_id", b"req_id", "stack_trace", b"stack_trace", "time_remaining", b"time_remaining"]) -> None: ...

global___Status = Status

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="clarifai-grpc",
version="9.10.5",
version="9.10.6",
author="Clarifai",
author_email="[email protected]",
description="Clarifai gRPC API Client",
Expand Down

0 comments on commit 9b09157

Please sign in to comment.