Skip to content

Commit eec678b

Browse files
committed
no mutable default keyword args
1 parent ce40017 commit eec678b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class DiffbotClient(object):
55
def __init__(self):
66
self.base_url = "http://api.diffbot.com/"
77

8-
def request(self, url, token, api, fields=[], version=2, **kwargs):
8+
def request(self, url, token, api, fields=None, version=2, **kwargs):
99
"""
1010
Returns a python object containing the requested resource from the diffbot api
1111
"""

0 commit comments

Comments
 (0)