Skip to content

Commit d9e3ce1

Browse files
committed
static attribute can be defined on the class level
1 parent eec678b commit d9e3ce1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33

44
class DiffbotClient(object):
5-
def __init__(self):
6-
self.base_url = "http://api.diffbot.com/"
5+
6+
base_url = 'http://api.diffbot.com/'
77

88
def request(self, url, token, api, fields=None, version=2, **kwargs):
99
"""

0 commit comments

Comments
 (0)