pyixapi 0.2.4__tar.gz → 0.2.5__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pyixapi
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: Python API client library for IX-API
5
5
  License: Apache-2.0
6
6
  Author: Guillaume Mazoyer
@@ -29,7 +29,7 @@ from pyixapi.models import (
29
29
  RoleAssignment,
30
30
  )
31
31
 
32
- __version__ = "0.2.4"
32
+ __version__ = "0.2.5"
33
33
 
34
34
 
35
35
  class API(object):
@@ -28,7 +28,7 @@ class Endpoint(object):
28
28
  base=self.url,
29
29
  token=self.api.access_token,
30
30
  http_session=self.api.http_session,
31
- user_agent=self.user_agent,
31
+ user_agent=self.api.user_agent,
32
32
  proxies=self.api.proxies,
33
33
  )
34
34
  return RecordSet(self, r)
@@ -43,7 +43,7 @@ class Endpoint(object):
43
43
  base=self.url,
44
44
  token=self.api.access_token,
45
45
  http_session=self.api.http_session,
46
- user_agent=self.user_agent,
46
+ user_agent=self.api.user_agent,
47
47
  proxies=self.api.proxies,
48
48
  )
49
49
  return RecordSet(self, r)
@@ -78,7 +78,7 @@ class Endpoint(object):
78
78
  base=self.url,
79
79
  token=self.api.access_token,
80
80
  http_session=self.api.http_session,
81
- user_agent=self.user_agent,
81
+ user_agent=self.api.user_agent,
82
82
  proxies=self.api.proxies,
83
83
  )
84
84
  try:
@@ -100,7 +100,7 @@ class Endpoint(object):
100
100
  base=self.url,
101
101
  token=self.api.access_token,
102
102
  http_session=self.api.http_session,
103
- user_agent=self.user_agent,
103
+ user_agent=self.api.user_agent,
104
104
  proxies=self.api.proxies,
105
105
  ).post(args[0] if args else kwargs)
106
106
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyixapi"
3
- version = "0.2.4"
3
+ version = "0.2.5"
4
4
  description = "Python API client library for IX-API"
5
5
  authors = [{ name = "Guillaume Mazoyer", email = "oss@mazoyer.eu" }]
6
6
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes