mux-python 5.1.1__py3-none-any.whl → 5.1.2__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.1.1"
18
+ __version__ = "5.1.2"
19
19
 
20
20
  # import apis into sdk package
21
21
  from mux_python.api.annotations_api import AnnotationsApi
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.1.1'
82
+ self.user_agent = 'Mux Python | 5.1.2'
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.1.1".\
409
+ "SDK Package Version: 5.1.2".\
410
410
  format(env=sys.platform, pyversion=sys.version)
411
411
 
412
412
  def get_host_settings(self):
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.getheader(name, default)
47
+ return self.urllib3_response.headers.get(name, default)
48
48
 
49
49
 
50
50
  class RESTClientObject(object):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mux_python
3
- Version: 5.1.1
3
+ Version: 5.1.2
4
4
  Summary: Mux API
5
5
  Home-page: https://github.com/muxinc/mux-python
6
6
  Author: Mux DevEx
@@ -1,8 +1,8 @@
1
- mux_python/__init__.py,sha256=MrM3Jg6COhKpggw4_YqeY2paA_MVE-8a2KKMZctXflg,15175
2
- mux_python/api_client.py,sha256=LFuTBhG9LEvTaT7-Qgj_dCsLQVrs3GePui2w9sSBUZI,27513
3
- mux_python/configuration.py,sha256=KU8BBuBIu3ZPXT93MFHKzC0H_3jNHnhGCgdaMMGy-W8,16923
1
+ mux_python/__init__.py,sha256=NxXXc_7bJ5o7VLEnKPcG7M_vOgfWEpfFVUbtNjICDcU,15175
2
+ mux_python/api_client.py,sha256=CY0b1LGU8Fap47WP98TxtbYu9sCiLQEA4YOm1kfrBc4,27513
3
+ mux_python/configuration.py,sha256=EYX4K2UOfa_A-_v90Jh2ghzcoe6xvDz8cl6uL0HMu7Q,16923
4
4
  mux_python/exceptions.py,sha256=lu9AENO-CBMVbWjBHO8vi1rdqlZXPGu9NrzyC1_RsjQ,5235
5
- mux_python/rest.py,sha256=wV5uJQSjPCP6fs25NkiqjNt-OrPa9ueXy7pT0k0PRcM,12757
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
@@ -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.1.1.dist-info/licenses/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
206
- mux_python-5.1.1.dist-info/METADATA,sha256=WDFxn_fS6bWnIg3fc2pyEVD8Gr3bMACwMGMz44s2yps,7002
207
- mux_python-5.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
208
- mux_python-5.1.1.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
209
- mux_python-5.1.1.dist-info/RECORD,,
205
+ mux_python-5.1.2.dist-info/licenses/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
206
+ mux_python-5.1.2.dist-info/METADATA,sha256=DJ7lIMejUMvLxsSuk7KAZCaSD8DBNtkMLRDKR-OXw5c,7002
207
+ mux_python-5.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
208
+ mux_python-5.1.2.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
209
+ mux_python-5.1.2.dist-info/RECORD,,