mux-python 5.0.0__py3-none-any.whl → 5.0.1__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 CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  from __future__ import absolute_import
17
17
 
18
- __version__ = "5.0.0"
18
+ __version__ = "5.0.1"
19
19
 
20
20
  # import apis into sdk package
21
21
  from mux_python.api.assets_api import AssetsApi
@@ -479,7 +479,7 @@ class AssetsApi(object):
479
479
  def create_asset_track(self, asset_id, create_track_request, **kwargs): # noqa: E501
480
480
  """Create an asset track # noqa: E501
481
481
 
482
- Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. # noqa: E501
482
+ 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
483
483
  This method makes a synchronous HTTP request by default. To make an
484
484
  asynchronous HTTP request, please pass async_req=True
485
485
 
@@ -511,7 +511,7 @@ class AssetsApi(object):
511
511
  def create_asset_track_with_http_info(self, asset_id, create_track_request, **kwargs): # noqa: E501
512
512
  """Create an asset track # noqa: E501
513
513
 
514
- Adds an asset track (for example, subtitles, or an alternate audio track) to an asset. # noqa: E501
514
+ 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
515
515
  This method makes a synchronous HTTP request by default. To make an
516
516
  asynchronous HTTP request, please pass async_req=True
517
517
 
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.0.0'
82
+ self.user_agent = 'Mux Python | 5.0.1'
83
83
  self.client_side_validation = configuration.client_side_validation
84
84
 
85
85
  def __enter__(self):
@@ -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.0.0".\
409
+ "SDK Package Version: 5.0.1".\
410
410
  format(env=sys.platform, pyversion=sys.version)
411
411
 
412
412
  def get_host_settings(self):
@@ -70,7 +70,7 @@ class AssetMetadata(object):
70
70
  def title(self):
71
71
  """Gets the title of this AssetMetadata. # noqa: E501
72
72
 
73
- The video title. Max 512 code points. # noqa: E501
73
+ The asset title. Max 512 code points. # noqa: E501
74
74
 
75
75
  :return: The title of this AssetMetadata. # noqa: E501
76
76
  :rtype: str
@@ -81,7 +81,7 @@ class AssetMetadata(object):
81
81
  def title(self, title):
82
82
  """Sets the title of this AssetMetadata.
83
83
 
84
- The video title. Max 512 code points. # noqa: E501
84
+ The asset title. Max 512 code points. # noqa: E501
85
85
 
86
86
  :param title: The title of this AssetMetadata. # noqa: E501
87
87
  :type title: str
@@ -96,7 +96,7 @@ class AssetMetadata(object):
96
96
  def creator_id(self):
97
97
  """Gets the creator_id of this AssetMetadata. # noqa: E501
98
98
 
99
- This is an identifier you provide to keep track of the creator of the video. Max 128 code points. # noqa: E501
99
+ This is an identifier you provide to keep track of the creator of the asset. Max 128 code points. # noqa: E501
100
100
 
101
101
  :return: The creator_id of this AssetMetadata. # noqa: E501
102
102
  :rtype: str
@@ -107,7 +107,7 @@ class AssetMetadata(object):
107
107
  def creator_id(self, creator_id):
108
108
  """Sets the creator_id of this AssetMetadata.
109
109
 
110
- This is an identifier you provide to keep track of the creator of the video. Max 128 code points. # noqa: E501
110
+ This is an identifier you provide to keep track of the creator of the asset. Max 128 code points. # noqa: E501
111
111
 
112
112
  :param creator_id: The creator_id of this AssetMetadata. # noqa: E501
113
113
  :type creator_id: str
@@ -122,7 +122,7 @@ class AssetMetadata(object):
122
122
  def external_id(self):
123
123
  """Gets the external_id of this AssetMetadata. # noqa: E501
124
124
 
125
- This is an identifier you provide to link the video to your own data. Max 128 code points. # noqa: E501
125
+ This is an identifier you provide to link the asset to your own data. Max 128 code points. # noqa: E501
126
126
 
127
127
  :return: The external_id of this AssetMetadata. # noqa: E501
128
128
  :rtype: str
@@ -133,7 +133,7 @@ class AssetMetadata(object):
133
133
  def external_id(self, external_id):
134
134
  """Sets the external_id of this AssetMetadata.
135
135
 
136
- This is an identifier you provide to link the video to your own data. Max 128 code points. # noqa: E501
136
+ This is an identifier you provide to link the asset to your own data. Max 128 code points. # noqa: E501
137
137
 
138
138
  :param external_id: The external_id of this AssetMetadata. # noqa: E501
139
139
  :type external_id: str
@@ -339,7 +339,7 @@ class StaticRendition(object):
339
339
  :param resolution_tier: The resolution_tier of this StaticRendition. # noqa: E501
340
340
  :type resolution_tier: str
341
341
  """
342
- allowed_values = ["2160p", "1440p", "1080p", "720p"] # noqa: E501
342
+ allowed_values = ["2160p", "1440p", "1080p", "720p", "audio-only"] # noqa: E501
343
343
  if self.local_vars_configuration.client_side_validation and resolution_tier not in allowed_values: # noqa: E501
344
344
  raise ValueError(
345
345
  "Invalid value for `resolution_tier` ({0}), must be one of {1}" # noqa: E501
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mux_python
3
- Version: 5.0.0
3
+ Version: 5.0.1
4
4
  Summary: Mux API
5
5
  Home-page: https://github.com/muxinc/mux-python
6
6
  Author: Mux DevEx
@@ -1,10 +1,10 @@
1
- mux_python/__init__.py,sha256=slpRbrnMFHhDe35CmaiFWJaJlnJznAyQnYDIrOrPe3M,14724
2
- mux_python/api_client.py,sha256=40Wf1VTJVuaxayxHA6FkRSASCqY4tXF57jlMAlV1PW0,27513
3
- mux_python/configuration.py,sha256=aF46atXyfEBHcJ5TQWAzF7kFklSbL_6PYu_ZpFxLWG4,16923
1
+ mux_python/__init__.py,sha256=LG3_2v1YqTAWFf1LNBPmQsms2BEL-ujf9lkXnTEs7XE,14724
2
+ mux_python/api_client.py,sha256=C9eE18w4Xn4wkA2R30JOq-xJpHikPwF4JufxNPQsn04,27513
3
+ mux_python/configuration.py,sha256=AAIFe-LFH7s0Ibz-5zFhLApkGnffQ6uKKqVfdUHtERY,16923
4
4
  mux_python/exceptions.py,sha256=lu9AENO-CBMVbWjBHO8vi1rdqlZXPGu9NrzyC1_RsjQ,5235
5
5
  mux_python/rest.py,sha256=wV5uJQSjPCP6fs25NkiqjNt-OrPa9ueXy7pT0k0PRcM,12757
6
6
  mux_python/api/__init__.py,sha256=CWdpQp9XQQi3eQSN01Hp8o8Nn9JW68CcP7AVrmcyVSc,1266
7
- mux_python/api/assets_api.py,sha256=pMpaKuNGqDbCmw3RpKkdpYw-f8jnYS_Lkjk5ggBFAX8,112457
7
+ mux_python/api/assets_api.py,sha256=9P4YCgZzq3Lj4kKDdP6Dx6_RtbVGNwsZ9tSOEw0z5yY,112585
8
8
  mux_python/api/delivery_usage_api.py,sha256=z40SrchQhxmdwtyUm9QtdZTke2GYEokz7MasY8iDwoY,9197
9
9
  mux_python/api/dimensions_api.py,sha256=6H9tNqC3EJhlJDL7xyf5qLpy3pQFdlUckwlelANytDw,16662
10
10
  mux_python/api/direct_uploads_api.py,sha256=u1peIlXNTDFBO1pzn8rpxxbBhECmvczmEPqduV-HnAI,25573
@@ -31,7 +31,7 @@ mux_python/models/asset.py,sha256=oQV3zlGmCiFRaUN92XiG_jtgSyOX676GTnijTwS2qgs,37
31
31
  mux_python/models/asset_errors.py,sha256=UP6Awo6jXy0aOBifSKMTphOTjrk2LREP2RuZmtDfjPY,4638
32
32
  mux_python/models/asset_generated_subtitle_settings.py,sha256=s5BZO-flEmvarlWQ5tj_RdrxhDYorCOIgysg09aAkoU,6392
33
33
  mux_python/models/asset_master.py,sha256=_ayfkgozlG529VEBoQYV-IOx4vewOfvbQyWuvJtVWpg,4925
34
- mux_python/models/asset_metadata.py,sha256=HBwDpE-GzOPg831PO6OrnOBgQZJP1gGM9ow9eQC5Qz4,6533
34
+ mux_python/models/asset_metadata.py,sha256=a248zXJsdVWTGX6UUIktVQpuaaxS3N76RLNNbHXxGkQ,6533
35
35
  mux_python/models/asset_non_standard_input_reasons.py,sha256=eTptcFUWX4PckLKB_vkSwK_pU2L2lCEv-WiH_CBml9g,18719
36
36
  mux_python/models/asset_recording_times.py,sha256=MmRAstj7mue0_lRfVvYKYvzzM2cdevvSxmA9h5zTiGM,6422
37
37
  mux_python/models/asset_response.py,sha256=6-mqYBqWr2Oq0tBSv0BPXfx41LSUp4poizCIi-TGvrI,3728
@@ -168,7 +168,7 @@ mux_python/models/space_response.py,sha256=ukivI4qXab2PcxqNX3b8P_UNigZvr4J5hecbB
168
168
  mux_python/models/space_status.py,sha256=zq3Y1yKwihIgEKjT71QjErMu69-NSYCqtOKtVPqywAE,3262
169
169
  mux_python/models/space_type.py,sha256=nTFhxdqVd7IUGgup_7E5tj9IVAwyYdUkmoAk10Zprp0,3230
170
170
  mux_python/models/start_space_broadcast_response.py,sha256=Y5LQa2v6Ks5sUSCldeFWJ_3b7seCnSRGT0vpPrdWdkc,3843
171
- mux_python/models/static_rendition.py,sha256=fkFMci-MUJOfr8SDNdLED4eoyE5xyszxCtk7ecSeiL8,16914
171
+ mux_python/models/static_rendition.py,sha256=AMbl4R2v-Uk3F-MWqh_KyEAE2PXwaGo1dKKsSzsWjA8,16928
172
172
  mux_python/models/stop_space_broadcast_response.py,sha256=FetERBg9UknmducGhiKHAj1xYEcf080VMVN5Zk1Zarc,3835
173
173
  mux_python/models/track.py,sha256=fqvhwtBmn6FJKu4wezu-nGHJe3aCT1EzS4lvi-UGx1k,22273
174
174
  mux_python/models/transcription_vocabulary.py,sha256=y3FR0qjcC4LvFnWpbuDZxAsbC33tBqzHqmJvfzoz4-Y,9235
@@ -195,8 +195,8 @@ mux_python/models/video_view_event.py,sha256=DEIoAJQaflQiCe-LzZ1FpSVzfphd60gguRM
195
195
  mux_python/models/video_view_response.py,sha256=WIZxYDoRy2bV_3pM9bh77yQl-u44v9tttqVcjkl7u9U,5286
196
196
  mux_python/models/web_input.py,sha256=iiWvX2zHyUVaONykYD91OrAbtWibkEmxnZVybdk-Wpo,11494
197
197
  mux_python/models/web_input_response.py,sha256=CK4fRkjFyybGkroi2p_IrJuYY-zrkOts43pb04KZJmA,3761
198
- mux_python-5.0.0.dist-info/licenses/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
199
- mux_python-5.0.0.dist-info/METADATA,sha256=LayRKFblNetdNvi7LqLG1r4XgPbwtzrqHElYJ06FRKk,7002
200
- mux_python-5.0.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
201
- mux_python-5.0.0.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
202
- mux_python-5.0.0.dist-info/RECORD,,
198
+ mux_python-5.0.1.dist-info/licenses/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
199
+ mux_python-5.0.1.dist-info/METADATA,sha256=BlZ3RqPBl3xU5fHGS10GIMNYXFvGqlGdjEjJ4a7tS1I,7002
200
+ mux_python-5.0.1.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
201
+ mux_python-5.0.1.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
202
+ mux_python-5.0.1.dist-info/RECORD,,