Skip to content

5.0.1 #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -361,5 +361,4 @@ setup.cfg
setup.py
test-requirements.txt
test/__init__.py
test/test_asset_metadata.py
tox.ini
6 changes: 3 additions & 3 deletions docs/AssetMetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**title** | **str** | The video title. Max 512 code points. | [optional]
**creator_id** | **str** | This is an identifier you provide to keep track of the creator of the video. Max 128 code points. | [optional]
**external_id** | **str** | This is an identifier you provide to link the video to your own data. Max 128 code points. | [optional]
**title** | **str** | The asset title. Max 512 code points. | [optional]
**creator_id** | **str** | This is an identifier you provide to keep track of the creator of the asset. Max 128 code points. | [optional]
**external_id** | **str** | This is an identifier you provide to link the asset to your own data. Max 128 code points. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/AssetsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Name | Type | Description | Notes

Create an asset track

Adds an asset track (for example, subtitles, or an alternate audio track) to an asset.
Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. Assets must be in the `ready` state before tracks can be added.

### Example

Expand Down
2 changes: 1 addition & 1 deletion gen/generator-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"packageName": "mux_python",
"projectName": "mux_python",
"licenseInfo" : "MIT",
"packageVersion": "5.0.0"
"packageVersion": "5.0.1"
}
2 changes: 1 addition & 1 deletion mux_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from __future__ import absolute_import

__version__ = "5.0.0"
__version__ = "5.0.1"

# import apis into sdk package
from mux_python.api.assets_api import AssetsApi
Expand Down
4 changes: 2 additions & 2 deletions mux_python/api/assets_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def create_asset_static_rendition_with_http_info(self, asset_id, create_static_r
def create_asset_track(self, asset_id, create_track_request, **kwargs): # noqa: E501
"""Create an asset track # noqa: E501

Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. # noqa: E501
Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. Assets must be in the `ready` state before tracks can be added. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down Expand Up @@ -511,7 +511,7 @@ def create_asset_track(self, asset_id, create_track_request, **kwargs): # noqa:
def create_asset_track_with_http_info(self, asset_id, create_track_request, **kwargs): # noqa: E501
"""Create an asset track # noqa: E501

Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. # noqa: E501
Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. Assets must be in the `ready` state before tracks can be added. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down
2 changes: 1 addition & 1 deletion mux_python/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'Mux Python | 5.0.0'
self.user_agent = 'Mux Python | 5.0.1'
self.client_side_validation = configuration.client_side_validation

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

def get_host_settings(self):
Expand Down
12 changes: 6 additions & 6 deletions mux_python/models/asset_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def __init__(self, title=None, creator_id=None, external_id=None, local_vars_con
def title(self):
"""Gets the title of this AssetMetadata. # noqa: E501

The video title. Max 512 code points. # noqa: E501
The asset title. Max 512 code points. # noqa: E501

:return: The title of this AssetMetadata. # noqa: E501
:rtype: str
Expand All @@ -81,7 +81,7 @@ def title(self):
def title(self, title):
"""Sets the title of this AssetMetadata.

The video title. Max 512 code points. # noqa: E501
The asset title. Max 512 code points. # noqa: E501

:param title: The title of this AssetMetadata. # noqa: E501
:type title: str
Expand All @@ -96,7 +96,7 @@ def title(self, title):
def creator_id(self):
"""Gets the creator_id of this AssetMetadata. # noqa: E501

This is an identifier you provide to keep track of the creator of the video. Max 128 code points. # noqa: E501
This is an identifier you provide to keep track of the creator of the asset. Max 128 code points. # noqa: E501

:return: The creator_id of this AssetMetadata. # noqa: E501
:rtype: str
Expand All @@ -107,7 +107,7 @@ def creator_id(self):
def creator_id(self, creator_id):
"""Sets the creator_id of this AssetMetadata.

This is an identifier you provide to keep track of the creator of the video. Max 128 code points. # noqa: E501
This is an identifier you provide to keep track of the creator of the asset. Max 128 code points. # noqa: E501

:param creator_id: The creator_id of this AssetMetadata. # noqa: E501
:type creator_id: str
Expand All @@ -122,7 +122,7 @@ def creator_id(self, creator_id):
def external_id(self):
"""Gets the external_id of this AssetMetadata. # noqa: E501

This is an identifier you provide to link the video to your own data. Max 128 code points. # noqa: E501
This is an identifier you provide to link the asset to your own data. Max 128 code points. # noqa: E501

:return: The external_id of this AssetMetadata. # noqa: E501
:rtype: str
Expand All @@ -133,7 +133,7 @@ def external_id(self):
def external_id(self, external_id):
"""Sets the external_id of this AssetMetadata.

This is an identifier you provide to link the video to your own data. Max 128 code points. # noqa: E501
This is an identifier you provide to link the asset to your own data. Max 128 code points. # noqa: E501

:param external_id: The external_id of this AssetMetadata. # noqa: E501
:type external_id: str
Expand Down
2 changes: 1 addition & 1 deletion mux_python/models/static_rendition.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def resolution_tier(self, resolution_tier):
:param resolution_tier: The resolution_tier of this StaticRendition. # noqa: E501
:type resolution_tier: str
"""
allowed_values = ["2160p", "1440p", "1080p", "720p"] # noqa: E501
allowed_values = ["2160p", "1440p", "1080p", "720p", "audio-only"] # noqa: E501
if self.local_vars_configuration.client_side_validation and resolution_tier not in allowed_values: # noqa: E501
raise ValueError(
"Invalid value for `resolution_tier` ({0}), must be one of {1}" # noqa: E501
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "mux_python"
VERSION = "5.0.0"
VERSION = "5.0.1"
# To install the library, run the following
#
# python setup.py install
Expand Down