Skip to content

Commit

Permalink
GRPC clients version 9.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
clarifai-prod committed Oct 27, 2023
1 parent 9561e04 commit 8f5a17e
Show file tree
Hide file tree
Showing 5 changed files with 213 additions and 203 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.9.4
9.9.5
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.9.4"
CLIENT_VERSION = "9.9.5"
OS_VER = os.sys.platform
PYTHON_VERSION = ".".join(
map(
Expand Down
398 changes: 200 additions & 198 deletions clarifai_grpc/grpc/api/resources_pb2.py

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions clarifai_grpc/grpc/api/resources_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5725,6 +5725,7 @@ class Video(google.protobuf.message.Message):
ALLOW_DUPLICATE_URL_FIELD_NUMBER: builtins.int
THUMBNAIL_URL_FIELD_NUMBER: builtins.int
HOSTED_FIELD_NUMBER: builtins.int
HOSTED_THUMBNAIL_FIELD_NUMBER: builtins.int
VIDEO_INFO_FIELD_NUMBER: builtins.int
url: builtins.str
"""This is a URL to a publicly accessible video file. The platform will download this file server
Expand All @@ -5742,13 +5743,19 @@ class Video(google.protobuf.message.Message):
thumbnail_url: builtins.str
"""URL of thumbnail image, which is currently frame at position of 1s. This field is currently
used only in response.
Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
"""
@property
def hosted(self) -> global___HostedURL:
"""The hosted field lists original video hosted in Clarifai storage. This field is currently used
only in response.
"""
@property
def hosted_thumbnail(self) -> global___HostedURL:
"""The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
This field is currently used only in response.
"""
@property
def video_info(self) -> global___VideoInfo:
"""video info"""
def __init__(
Expand All @@ -5759,10 +5766,11 @@ class Video(google.protobuf.message.Message):
allow_duplicate_url: builtins.bool = ...,
thumbnail_url: builtins.str = ...,
hosted: global___HostedURL | None = ...,
hosted_thumbnail: global___HostedURL | None = ...,
video_info: global___VideoInfo | None = ...,
) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["hosted", b"hosted", "video_info", b"video_info"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["allow_duplicate_url", b"allow_duplicate_url", "base64", b"base64", "hosted", b"hosted", "thumbnail_url", b"thumbnail_url", "url", b"url", "video_info", b"video_info"]) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["hosted", b"hosted", "hosted_thumbnail", b"hosted_thumbnail", "video_info", b"video_info"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["allow_duplicate_url", b"allow_duplicate_url", "base64", b"base64", "hosted", b"hosted", "hosted_thumbnail", b"hosted_thumbnail", "thumbnail_url", b"thumbnail_url", "url", b"url", "video_info", b"video_info"]) -> None: ...

global___Video = Video

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.9.4",
version="9.9.5",
author="Clarifai",
author_email="[email protected]",
description="Clarifai gRPC API Client",
Expand Down

0 comments on commit 8f5a17e

Please sign in to comment.