Skip to content

Commit fc0a669

Browse files
committed
* Removes python2 extend from object.
1 parent 1430081 commit fc0a669

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

messagebird/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import json
55

66

7-
class Base(object):
7+
class Base:
88
def load(self, data):
99
for name, value in list(data.items()):
1010
if hasattr(self, name) and not callable(getattr(self, name)):

messagebird/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class Feature(enum.Enum):
6969
ENABLE_CONVERSATIONS_API_WHATSAPP_SANDBOX = 1
7070

7171

72-
class Client(object):
72+
class Client:
7373

7474
def __init__(self, access_key, http_client=None, features=[]):
7575
self.access_key = access_key

messagebird/http_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ResponseFormat(Enum):
1111
binary = 2
1212

1313

14-
class HttpClient(object):
14+
class HttpClient:
1515
"""Used for sending simple HTTP requests."""
1616

1717
def __init__(self, endpoint, access_key, user_agent):

0 commit comments

Comments
 (0)