mux-python 5.1.1__py3-none-any.whl → 5.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mux_python/__init__.py +1 -1
- mux_python/api_client.py +1 -1
- mux_python/configuration.py +1 -1
- mux_python/models/track.py +3 -3
- mux_python/rest.py +1 -1
- {mux_python-5.1.1.dist-info → mux_python-5.2.0.dist-info}/METADATA +1 -1
- {mux_python-5.1.1.dist-info → mux_python-5.2.0.dist-info}/RECORD +10 -10
- {mux_python-5.1.1.dist-info → mux_python-5.2.0.dist-info}/WHEEL +1 -1
- {mux_python-5.1.1.dist-info → mux_python-5.2.0.dist-info}/licenses/LICENSE +0 -0
- {mux_python-5.1.1.dist-info → mux_python-5.2.0.dist-info}/top_level.txt +0 -0
mux_python/__init__.py
CHANGED
mux_python/api_client.py
CHANGED
|
@@ -79,7 +79,7 @@ class ApiClient(object):
|
|
|
79
79
|
self.default_headers[header_name] = header_value
|
|
80
80
|
self.cookie = cookie
|
|
81
81
|
# Set default User-Agent.
|
|
82
|
-
self.user_agent = 'Mux Python | 5.
|
|
82
|
+
self.user_agent = 'Mux Python | 5.2.0'
|
|
83
83
|
self.client_side_validation = configuration.client_side_validation
|
|
84
84
|
|
|
85
85
|
def __enter__(self):
|
mux_python/configuration.py
CHANGED
|
@@ -406,7 +406,7 @@ conf = mux_python.Configuration(
|
|
|
406
406
|
"OS: {env}\n"\
|
|
407
407
|
"Python Version: {pyversion}\n"\
|
|
408
408
|
"Version of the API: v1\n"\
|
|
409
|
-
"SDK Package Version: 5.
|
|
409
|
+
"SDK Package Version: 5.2.0".\
|
|
410
410
|
format(env=sys.platform, pyversion=sys.version)
|
|
411
411
|
|
|
412
412
|
def get_host_settings(self):
|
mux_python/models/track.py
CHANGED
|
@@ -475,7 +475,7 @@ class Track(object):
|
|
|
475
475
|
def status(self):
|
|
476
476
|
"""Gets the status of this Track. # noqa: E501
|
|
477
477
|
|
|
478
|
-
The status of the track.
|
|
478
|
+
The status of the track. `skipped` means the track was not created because the asset doesn't support it, for example generated subtitles on an asset with no audio. # noqa: E501
|
|
479
479
|
|
|
480
480
|
:return: The status of this Track. # noqa: E501
|
|
481
481
|
:rtype: str
|
|
@@ -486,12 +486,12 @@ class Track(object):
|
|
|
486
486
|
def status(self, status):
|
|
487
487
|
"""Sets the status of this Track.
|
|
488
488
|
|
|
489
|
-
The status of the track.
|
|
489
|
+
The status of the track. `skipped` means the track was not created because the asset doesn't support it, for example generated subtitles on an asset with no audio. # noqa: E501
|
|
490
490
|
|
|
491
491
|
:param status: The status of this Track. # noqa: E501
|
|
492
492
|
:type status: str
|
|
493
493
|
"""
|
|
494
|
-
allowed_values = ["preparing", "ready", "errored", "deleted"] # noqa: E501
|
|
494
|
+
allowed_values = ["preparing", "ready", "errored", "deleted", "skipped"] # noqa: E501
|
|
495
495
|
if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501
|
|
496
496
|
raise ValueError(
|
|
497
497
|
"Invalid value for `status` ({0}), must be one of {1}" # noqa: E501
|
mux_python/rest.py
CHANGED
|
@@ -44,7 +44,7 @@ class RESTResponse(io.IOBase):
|
|
|
44
44
|
|
|
45
45
|
def getheader(self, name, default=None):
|
|
46
46
|
"""Returns a given response header."""
|
|
47
|
-
return self.urllib3_response.
|
|
47
|
+
return self.urllib3_response.headers.get(name, default)
|
|
48
48
|
|
|
49
49
|
|
|
50
50
|
class RESTClientObject(object):
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
mux_python/__init__.py,sha256=
|
|
2
|
-
mux_python/api_client.py,sha256=
|
|
3
|
-
mux_python/configuration.py,sha256=
|
|
1
|
+
mux_python/__init__.py,sha256=84QaKQUDbNwiiusGxZ55EkMr50oil75mUWqAefVGhKo,15175
|
|
2
|
+
mux_python/api_client.py,sha256=YyWzLpA3mf_j_De-RVozfwn83pRbQqhogbN3gLIVNl0,27513
|
|
3
|
+
mux_python/configuration.py,sha256=JpoGUUBuG-VmVBVJOLNXUEsgLoTZqlR_3vFo_plYOdU,16923
|
|
4
4
|
mux_python/exceptions.py,sha256=lu9AENO-CBMVbWjBHO8vi1rdqlZXPGu9NrzyC1_RsjQ,5235
|
|
5
|
-
mux_python/rest.py,sha256=
|
|
5
|
+
mux_python/rest.py,sha256=e3h9BA0ohtOXIxeA60PWgp9WIVUuWRwLJPXy66XvKm4,12759
|
|
6
6
|
mux_python/api/__init__.py,sha256=3bNBwJphua5jd2IZdoLbxlQmmzFdLJcsWr1gD4btBQw,1324
|
|
7
7
|
mux_python/api/annotations_api.py,sha256=-VUtMMMk8vKp2wZs2i2POUFuzonymdXNEt6avepQFa8,33036
|
|
8
8
|
mux_python/api/assets_api.py,sha256=69NfuUaR-PUE-hA9BV0A4Pc5dUJQ6tm0nLE7vpHL9VU,113219
|
|
@@ -177,7 +177,7 @@ mux_python/models/space_type.py,sha256=nTFhxdqVd7IUGgup_7E5tj9IVAwyYdUkmoAk10Zpr
|
|
|
177
177
|
mux_python/models/start_space_broadcast_response.py,sha256=Y5LQa2v6Ks5sUSCldeFWJ_3b7seCnSRGT0vpPrdWdkc,3843
|
|
178
178
|
mux_python/models/static_rendition.py,sha256=AMbl4R2v-Uk3F-MWqh_KyEAE2PXwaGo1dKKsSzsWjA8,16928
|
|
179
179
|
mux_python/models/stop_space_broadcast_response.py,sha256=FetERBg9UknmducGhiKHAj1xYEcf080VMVN5Zk1Zarc,3835
|
|
180
|
-
mux_python/models/track.py,sha256=
|
|
180
|
+
mux_python/models/track.py,sha256=J42o4fLgvkbt74-94rAR-e_b0y6Pr7lH7Tj8D2sWDyo,22460
|
|
181
181
|
mux_python/models/transcription_vocabulary.py,sha256=y3FR0qjcC4LvFnWpbuDZxAsbC33tBqzHqmJvfzoz4-Y,9235
|
|
182
182
|
mux_python/models/transcription_vocabulary_response.py,sha256=rfND99sXXpKHXCeQI0q5RXtoic-ygPo4J-113zwWgxE,3926
|
|
183
183
|
mux_python/models/update_asset_master_access_request.py,sha256=kaRVch7uRY7zLPMdcMrfQeud_t79-9qb7pQBT4PuJis,4576
|
|
@@ -202,8 +202,8 @@ mux_python/models/video_view_event.py,sha256=DEIoAJQaflQiCe-LzZ1FpSVzfphd60gguRM
|
|
|
202
202
|
mux_python/models/video_view_response.py,sha256=WIZxYDoRy2bV_3pM9bh77yQl-u44v9tttqVcjkl7u9U,5286
|
|
203
203
|
mux_python/models/web_input.py,sha256=iiWvX2zHyUVaONykYD91OrAbtWibkEmxnZVybdk-Wpo,11494
|
|
204
204
|
mux_python/models/web_input_response.py,sha256=CK4fRkjFyybGkroi2p_IrJuYY-zrkOts43pb04KZJmA,3761
|
|
205
|
-
mux_python-5.
|
|
206
|
-
mux_python-5.
|
|
207
|
-
mux_python-5.
|
|
208
|
-
mux_python-5.
|
|
209
|
-
mux_python-5.
|
|
205
|
+
mux_python-5.2.0.dist-info/licenses/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
|
|
206
|
+
mux_python-5.2.0.dist-info/METADATA,sha256=tAz1CPrjz3ssf-NLeWTxyLksjoGn4Hypc74CkxXhNxA,7002
|
|
207
|
+
mux_python-5.2.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
208
|
+
mux_python-5.2.0.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
|
|
209
|
+
mux_python-5.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|