diff --git a/docs/Asset.md b/docs/Asset.md index 739b7c9..a8e49e8 100644 --- a/docs/Asset.md +++ b/docs/Asset.md @@ -10,7 +10,8 @@ Name | Type | Description | Notes **max_stored_resolution** | **str** | This field is deprecated. Please use `resolution_tier` instead. The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. | [optional] **resolution_tier** | **str** | The resolution tier that the asset was ingested at, affecting billing for ingest & storage. This field also represents the highest resolution tier that the content can be delivered at, however the actual resolution may be lower depending on the device, bandwidth, and exact resolution of the uploaded asset. | [optional] **max_resolution_tier** | **str** | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional] -**encoding_tier** | **str** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] +**encoding_tier** | **str** | This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] +**video_quality** | **str** | The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] **max_stored_frame_rate** | **float** | The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined. | [optional] **aspect_ratio** | **str** | The aspect ratio of the asset in the form of `width:height`, for example `16:9`. | [optional] **playback_ids** | [**list[PlaybackID]**](PlaybackID.md) | An array of Playback ID objects. Use these to create HLS playback URLs. See [Play your videos](https://docs.mux.com/guides/play-your-videos) for more details. | [optional] diff --git a/docs/AssetsApi.md b/docs/AssetsApi.md index 7b7dbee..48e4b04 100644 --- a/docs/AssetsApi.md +++ b/docs/AssetsApi.md @@ -57,7 +57,7 @@ configuration = mux_python.Configuration( with mux_python.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = mux_python.AssetsApi(api_client) - create_asset_request = {"input":[{"url":"https://muxed.s3.amazonaws.com/leds.mp4"}],"playback_policy":["public"],"encoding_tier":"baseline"} # CreateAssetRequest | + create_asset_request = {"input":[{"url":"https://muxed.s3.amazonaws.com/leds.mp4"}],"playback_policy":["public"],"video_quality":"basic"} # CreateAssetRequest | try: # Create an asset diff --git a/docs/CreateAssetRequest.md b/docs/CreateAssetRequest.md index 5ed4ce0..a3d272a 100644 --- a/docs/CreateAssetRequest.md +++ b/docs/CreateAssetRequest.md @@ -13,7 +13,8 @@ Name | Type | Description | Notes **master_access** | **str** | Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the [Download your videos guide](https://docs.mux.com/guides/enable-static-mp4-renditions) for more information. | [optional] **test** | **bool** | Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs. | [optional] **max_resolution_tier** | **str** | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional] -**encoding_tier** | **str** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] +**encoding_tier** | **str** | This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] +**video_quality** | **str** | The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [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) diff --git a/docs/DeliveryReport.md b/docs/DeliveryReport.md index b1c860c..bfec74f 100644 --- a/docs/DeliveryReport.md +++ b/docs/DeliveryReport.md @@ -11,7 +11,8 @@ Name | Type | Description | Notes **asset_state** | **str** | The state of the asset. | [optional] **asset_duration** | **float** | The duration of the asset in seconds. | [optional] **asset_resolution_tier** | **str** | The resolution tier that the asset was ingested at, affecting billing for ingest & storage | [optional] -**asset_encoding_tier** | **str** | The encoding tier that the asset was ingested at. [See the encoding tiers guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] +**asset_encoding_tier** | **str** | This field is deprecated. Please use `asset_video_quality` instead. The encoding tier that the asset was ingested at. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] +**asset_video_quality** | **str** | The video quality that the asset was ingested at. This field replaces `asset_encoding_tier`. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) | [optional] **delivered_seconds** | **float** | Total number of delivered seconds during this time window. | [optional] **delivered_seconds_by_resolution** | [**DeliveryReportDeliveredSecondsByResolution**](DeliveryReportDeliveredSecondsByResolution.md) | | [optional] diff --git a/docs/PlaybackPolicy.md b/docs/PlaybackPolicy.md index f05fcba..b0f0a4d 100644 --- a/docs/PlaybackPolicy.md +++ b/docs/PlaybackPolicy.md @@ -1,6 +1,6 @@ # PlaybackPolicy -* `public` playback IDs are accessible by constructing an HLS URL like `https://stream.mux.com/${PLAYBACK_ID}` * `signed` playback IDs should be used with tokens `https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}`. See [Secure video playback](https://docs.mux.com/guides/secure-video-playback) for details about creating tokens. +* `public` playback IDs are accessible by constructing an HLS URL like `https://stream.mux.com/${PLAYBACK_ID}` * `signed` playback IDs should be used with tokens `https://stream.mux.com/${PLAYBACK_ID}?token={TOKEN}`. See [Secure video playback](https://docs.mux.com/guides/secure-video-playback) for details about creating tokens. * `drm` playback IDs are protected with DRM technologies. [See DRM documentation for more details](https://docs.mux.com/guides/protect-videos-with-drm). ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/gen/generator-config.json b/gen/generator-config.json index 1a93882..fc0d7c8 100644 --- a/gen/generator-config.json +++ b/gen/generator-config.json @@ -3,5 +3,5 @@ "packageName": "mux_python", "projectName": "mux_python", "licenseInfo" : "MIT", - "packageVersion": "3.17.0" + "packageVersion": "3.18.0" } diff --git a/mux_python/__init__.py b/mux_python/__init__.py index 28f176d..321bbd3 100644 --- a/mux_python/__init__.py +++ b/mux_python/__init__.py @@ -15,7 +15,7 @@ from __future__ import absolute_import -__version__ = "3.17.0" +__version__ = "3.18.0" # import apis into sdk package from mux_python.api.assets_api import AssetsApi diff --git a/mux_python/api_client.py b/mux_python/api_client.py index ec49dc0..62ad13b 100644 --- a/mux_python/api_client.py +++ b/mux_python/api_client.py @@ -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 | 3.17.0' + self.user_agent = 'Mux Python | 3.18.0' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/mux_python/configuration.py b/mux_python/configuration.py index 10b69be..ab69c9d 100644 --- a/mux_python/configuration.py +++ b/mux_python/configuration.py @@ -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: 3.17.0".\ + "SDK Package Version: 3.18.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/mux_python/models/asset.py b/mux_python/models/asset.py index 7450754..4fa2ddd 100644 --- a/mux_python/models/asset.py +++ b/mux_python/models/asset.py @@ -45,6 +45,7 @@ class Asset(object): 'resolution_tier': 'str', 'max_resolution_tier': 'str', 'encoding_tier': 'str', + 'video_quality': 'str', 'max_stored_frame_rate': 'float', 'aspect_ratio': 'str', 'playback_ids': 'list[PlaybackID]', @@ -76,6 +77,7 @@ class Asset(object): 'resolution_tier': 'resolution_tier', 'max_resolution_tier': 'max_resolution_tier', 'encoding_tier': 'encoding_tier', + 'video_quality': 'video_quality', 'max_stored_frame_rate': 'max_stored_frame_rate', 'aspect_ratio': 'aspect_ratio', 'playback_ids': 'playback_ids', @@ -98,7 +100,7 @@ class Asset(object): 'ingest_type': 'ingest_type' } - def __init__(self, id=None, created_at=None, status=None, duration=None, max_stored_resolution=None, resolution_tier=None, max_resolution_tier=None, encoding_tier=None, max_stored_frame_rate=None, aspect_ratio=None, playback_ids=None, tracks=None, errors=None, per_title_encode=None, upload_id=None, is_live=None, passthrough=None, live_stream_id=None, master=None, master_access='none', mp4_support='none', source_asset_id=None, normalize_audio=False, static_renditions=None, recording_times=None, non_standard_input_reasons=None, test=None, ingest_type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, id=None, created_at=None, status=None, duration=None, max_stored_resolution=None, resolution_tier=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, max_stored_frame_rate=None, aspect_ratio=None, playback_ids=None, tracks=None, errors=None, per_title_encode=None, upload_id=None, is_live=None, passthrough=None, live_stream_id=None, master=None, master_access='none', mp4_support='none', source_asset_id=None, normalize_audio=False, static_renditions=None, recording_times=None, non_standard_input_reasons=None, test=None, ingest_type=None, local_vars_configuration=None): # noqa: E501 """Asset - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -112,6 +114,7 @@ def __init__(self, id=None, created_at=None, status=None, duration=None, max_sto self._resolution_tier = None self._max_resolution_tier = None self._encoding_tier = None + self._video_quality = None self._max_stored_frame_rate = None self._aspect_ratio = None self._playback_ids = None @@ -150,6 +153,8 @@ def __init__(self, id=None, created_at=None, status=None, duration=None, max_sto self.max_resolution_tier = max_resolution_tier if encoding_tier is not None: self.encoding_tier = encoding_tier + if video_quality is not None: + self.video_quality = video_quality if max_stored_frame_rate is not None: self.max_stored_frame_rate = max_stored_frame_rate if aspect_ratio is not None: @@ -380,7 +385,7 @@ def max_resolution_tier(self, max_resolution_tier): def encoding_tier(self): """Gets the encoding_tier of this Asset. # noqa: E501 - The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 :return: The encoding_tier of this Asset. # noqa: E501 :rtype: str @@ -391,7 +396,7 @@ def encoding_tier(self): def encoding_tier(self, encoding_tier): """Sets the encoding_tier of this Asset. - The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 :param encoding_tier: The encoding_tier of this Asset. # noqa: E501 :type encoding_tier: str @@ -405,6 +410,35 @@ def encoding_tier(self, encoding_tier): self._encoding_tier = encoding_tier + @property + def video_quality(self): + """Gets the video_quality of this Asset. # noqa: E501 + + The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + + :return: The video_quality of this Asset. # noqa: E501 + :rtype: str + """ + return self._video_quality + + @video_quality.setter + def video_quality(self, video_quality): + """Sets the video_quality of this Asset. + + The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + + :param video_quality: The video_quality of this Asset. # noqa: E501 + :type video_quality: str + """ + allowed_values = ["basic", "plus"] # noqa: E501 + if self.local_vars_configuration.client_side_validation and video_quality not in allowed_values: # noqa: E501 + raise ValueError( + "Invalid value for `video_quality` ({0}), must be one of {1}" # noqa: E501 + .format(video_quality, allowed_values) + ) + + self._video_quality = video_quality + @property def max_stored_frame_rate(self): """Gets the max_stored_frame_rate of this Asset. # noqa: E501 diff --git a/mux_python/models/create_asset_request.py b/mux_python/models/create_asset_request.py index 56288ee..2331069 100644 --- a/mux_python/models/create_asset_request.py +++ b/mux_python/models/create_asset_request.py @@ -47,7 +47,8 @@ class CreateAssetRequest(object): 'master_access': 'str', 'test': 'bool', 'max_resolution_tier': 'str', - 'encoding_tier': 'str' + 'encoding_tier': 'str', + 'video_quality': 'str' } attribute_map = { @@ -61,10 +62,11 @@ class CreateAssetRequest(object): 'master_access': 'master_access', 'test': 'test', 'max_resolution_tier': 'max_resolution_tier', - 'encoding_tier': 'encoding_tier' + 'encoding_tier': 'encoding_tier', + 'video_quality': 'video_quality' } - def __init__(self, input=None, playback_policy=None, advanced_playback_policies=None, per_title_encode=None, passthrough=None, mp4_support=None, normalize_audio=False, master_access=None, test=None, max_resolution_tier=None, encoding_tier=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, input=None, playback_policy=None, advanced_playback_policies=None, per_title_encode=None, passthrough=None, mp4_support=None, normalize_audio=False, master_access=None, test=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, local_vars_configuration=None): # noqa: E501 """CreateAssetRequest - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -81,6 +83,7 @@ def __init__(self, input=None, playback_policy=None, advanced_playback_policies= self._test = None self._max_resolution_tier = None self._encoding_tier = None + self._video_quality = None self.discriminator = None if input is not None: @@ -105,6 +108,8 @@ def __init__(self, input=None, playback_policy=None, advanced_playback_policies= self.max_resolution_tier = max_resolution_tier if encoding_tier is not None: self.encoding_tier = encoding_tier + if video_quality is not None: + self.video_quality = video_quality @property def input(self): @@ -356,7 +361,7 @@ def max_resolution_tier(self, max_resolution_tier): def encoding_tier(self): """Gets the encoding_tier of this CreateAssetRequest. # noqa: E501 - The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 :return: The encoding_tier of this CreateAssetRequest. # noqa: E501 :rtype: str @@ -367,7 +372,7 @@ def encoding_tier(self): def encoding_tier(self, encoding_tier): """Sets the encoding_tier of this CreateAssetRequest. - The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + This field is deprecated. Please use `video_quality` instead. The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 :param encoding_tier: The encoding_tier of this CreateAssetRequest. # noqa: E501 :type encoding_tier: str @@ -381,6 +386,35 @@ def encoding_tier(self, encoding_tier): self._encoding_tier = encoding_tier + @property + def video_quality(self): + """Gets the video_quality of this CreateAssetRequest. # noqa: E501 + + The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + + :return: The video_quality of this CreateAssetRequest. # noqa: E501 + :rtype: str + """ + return self._video_quality + + @video_quality.setter + def video_quality(self, video_quality): + """Sets the video_quality of this CreateAssetRequest. + + The video quality controls the cost, quality, and available platform features for the asset. By default the `plus` video quality is used. This field replaces the deprecated `encoding_tier` value. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + + :param video_quality: The video_quality of this CreateAssetRequest. # noqa: E501 + :type video_quality: str + """ + allowed_values = ["basic", "plus"] # noqa: E501 + if self.local_vars_configuration.client_side_validation and video_quality not in allowed_values: # noqa: E501 + raise ValueError( + "Invalid value for `video_quality` ({0}), must be one of {1}" # noqa: E501 + .format(video_quality, allowed_values) + ) + + self._video_quality = video_quality + def to_dict(self, serialize=False): """Returns the model properties as a dict""" result = {} diff --git a/mux_python/models/delivery_report.py b/mux_python/models/delivery_report.py index cfd605a..0eb01ff 100644 --- a/mux_python/models/delivery_report.py +++ b/mux_python/models/delivery_report.py @@ -46,6 +46,7 @@ class DeliveryReport(object): 'asset_duration': 'float', 'asset_resolution_tier': 'str', 'asset_encoding_tier': 'str', + 'asset_video_quality': 'str', 'delivered_seconds': 'float', 'delivered_seconds_by_resolution': 'DeliveryReportDeliveredSecondsByResolution' } @@ -60,11 +61,12 @@ class DeliveryReport(object): 'asset_duration': 'asset_duration', 'asset_resolution_tier': 'asset_resolution_tier', 'asset_encoding_tier': 'asset_encoding_tier', + 'asset_video_quality': 'asset_video_quality', 'delivered_seconds': 'delivered_seconds', 'delivered_seconds_by_resolution': 'delivered_seconds_by_resolution' } - def __init__(self, live_stream_id=None, asset_id=None, passthrough=None, created_at=None, deleted_at=None, asset_state=None, asset_duration=None, asset_resolution_tier=None, asset_encoding_tier=None, delivered_seconds=None, delivered_seconds_by_resolution=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, live_stream_id=None, asset_id=None, passthrough=None, created_at=None, deleted_at=None, asset_state=None, asset_duration=None, asset_resolution_tier=None, asset_encoding_tier=None, asset_video_quality=None, delivered_seconds=None, delivered_seconds_by_resolution=None, local_vars_configuration=None): # noqa: E501 """DeliveryReport - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration.get_default_copy() @@ -79,6 +81,7 @@ def __init__(self, live_stream_id=None, asset_id=None, passthrough=None, created self._asset_duration = None self._asset_resolution_tier = None self._asset_encoding_tier = None + self._asset_video_quality = None self._delivered_seconds = None self._delivered_seconds_by_resolution = None self.discriminator = None @@ -101,6 +104,8 @@ def __init__(self, live_stream_id=None, asset_id=None, passthrough=None, created self.asset_resolution_tier = asset_resolution_tier if asset_encoding_tier is not None: self.asset_encoding_tier = asset_encoding_tier + if asset_video_quality is not None: + self.asset_video_quality = asset_video_quality if delivered_seconds is not None: self.delivered_seconds = delivered_seconds if delivered_seconds_by_resolution is not None: @@ -306,7 +311,7 @@ def asset_resolution_tier(self, asset_resolution_tier): def asset_encoding_tier(self): """Gets the asset_encoding_tier of this DeliveryReport. # noqa: E501 - The encoding tier that the asset was ingested at. [See the encoding tiers guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + This field is deprecated. Please use `asset_video_quality` instead. The encoding tier that the asset was ingested at. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 :return: The asset_encoding_tier of this DeliveryReport. # noqa: E501 :rtype: str @@ -317,7 +322,7 @@ def asset_encoding_tier(self): def asset_encoding_tier(self, asset_encoding_tier): """Sets the asset_encoding_tier of this DeliveryReport. - The encoding tier that the asset was ingested at. [See the encoding tiers guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + This field is deprecated. Please use `asset_video_quality` instead. The encoding tier that the asset was ingested at. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 :param asset_encoding_tier: The asset_encoding_tier of this DeliveryReport. # noqa: E501 :type asset_encoding_tier: str @@ -331,6 +336,35 @@ def asset_encoding_tier(self, asset_encoding_tier): self._asset_encoding_tier = asset_encoding_tier + @property + def asset_video_quality(self): + """Gets the asset_video_quality of this DeliveryReport. # noqa: E501 + + The video quality that the asset was ingested at. This field replaces `asset_encoding_tier`. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + + :return: The asset_video_quality of this DeliveryReport. # noqa: E501 + :rtype: str + """ + return self._asset_video_quality + + @asset_video_quality.setter + def asset_video_quality(self, asset_video_quality): + """Sets the asset_video_quality of this DeliveryReport. + + The video quality that the asset was ingested at. This field replaces `asset_encoding_tier`. [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501 + + :param asset_video_quality: The asset_video_quality of this DeliveryReport. # noqa: E501 + :type asset_video_quality: str + """ + allowed_values = ["basic", "plus"] # noqa: E501 + if self.local_vars_configuration.client_side_validation and asset_video_quality not in allowed_values: # noqa: E501 + raise ValueError( + "Invalid value for `asset_video_quality` ({0}), must be one of {1}" # noqa: E501 + .format(asset_video_quality, allowed_values) + ) + + self._asset_video_quality = asset_video_quality + @property def delivered_seconds(self): """Gets the delivered_seconds of this DeliveryReport. # noqa: E501 diff --git a/setup.py b/setup.py index 3bcf442..c73fbad 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "mux_python" -VERSION = "3.17.0" +VERSION = "3.18.0" # To install the library, run the following # # python setup.py install