Skip to content

Commit

Permalink
Update VideoStatusIngest enum descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierapivideo authored Feb 19, 2024
1 parent 96122a9 commit ffd748d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Changelog
All changes to this project will be documented in this file.

## [1.3.1] - 2024-02-19
- Update VideoStatusIngest enum

## [1.3.0] - 2023-06-28
- Introducing new live streams restream feature
- Introducing new analytics endpoints
Expand Down
2 changes: 1 addition & 1 deletion apivideo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"""


__version__ = "1.3.0"
__version__ = "1.3.1"

# import ApiVideoClient
from apivideo.auth_api_client import AuthenticatedApiClient
Expand Down
2 changes: 1 addition & 1 deletion apivideo/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie

self.default_headers['AV-Origin-Client'] = "python:1.3.0"
self.default_headers['AV-Origin-Client'] = "python:1.3.1"

def __enter__(self):
return self
Expand Down
2 changes: 1 addition & 1 deletion apivideo/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 1\n"\
"SDK Package Version: 1.3.0".\
"SDK Package Version: 1.3.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
5 changes: 3 additions & 2 deletions apivideo/model/video_status_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@ class VideoStatusIngest(ModelNormal):

allowed_values = {
('status',): {
'MISSING': "missing",
'UPLOADING': "uploading",
'UPLOADED': "uploaded",
'INGESTING': "ingesting",
'INGESTED': "ingested",
},
}

Expand Down Expand Up @@ -147,7 +148,7 @@ def __init__(self, *args, **kwargs): # noqa: E501
Animal class but this time we won't travel
through its discriminator because we passed in
_visited_composed_classes = (Animal,)
status (str): There are three possible ingest statuses. missing - you are missing information required to ingest the video. uploading - the video is in the process of being uploaded. uploaded - the video is ready for use.. [optional] # noqa: E501
status (str): There are four possible statuses depending on how you provide a video file: - `uploading` - the API is gathering the video source file from an upload. - `uploaded` - the video file is fully uploaded. - `ingesting` - the API is gathering the video source file from either a URL, or from cloning. - `ingested` - the video file is fully stored. . [optional] # noqa: E501
filesize (int, none_type): The size of your file in bytes.. [optional] # noqa: E501
received_bytes ([BytesRange]): The total number of bytes received, listed for each chunk of the upload.. [optional] # noqa: E501
received_parts (VideoStatusIngestReceivedParts): [optional] # noqa: E501
Expand Down
2 changes: 1 addition & 1 deletion docs/VideoStatusIngest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Details about the capturing, transferring, and storing of your video for use imm
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **str** | There are three possible ingest statuses. missing - you are missing information required to ingest the video. uploading - the video is in the process of being uploaded. uploaded - the video is ready for use. | [optional]
**status** | **str** | There are four possible statuses depending on how you provide a video file: - `uploading` - the API is gathering the video source file from an upload. - `uploaded` - the video file is fully uploaded. - `ingesting` - the API is gathering the video source file from either a URL, or from cloning. - `ingested` - the video file is fully stored. | [optional]
**filesize** | **int, none_type** | The size of your file in bytes. | [optional]
**received_bytes** | [**[BytesRange]**](BytesRange.md) | The total number of bytes received, listed for each chunk of the upload. | [optional]
**received_parts** | [**VideoStatusIngestReceivedParts**](VideoStatusIngestReceivedParts.md) | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "api.video"
VERSION = "1.3.0"
VERSION = "1.3.1"
# To install the library, run the following
#
# python setup.py install
Expand Down

0 comments on commit ffd748d

Please sign in to comment.