You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In several API methods like krakenex.api._query, why do you set the default value of some dictionary parameters to None, but then at the beginning of the method, immediately change None to the empty dictionary {}? Why not instead set the parameter default values to {}?
For example, why not replace
def _query(self, urlpath, data, headers=None, timeout=None):
if data is None:
data = {}
if headers is None:
headers = {}
In several API methods like
krakenex.api._query
, why do you set the default value of some dictionary parameters toNone
, but then at the beginning of the method, immediately changeNone
to the empty dictionary{}
? Why not instead set the parameter default values to{}
?For example, why not replace
with
?
The text was updated successfully, but these errors were encountered: