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
When host, port, or base is None, ipfsAPi.client.Client should use the default value rather than trying to work with None. This makes the module easier to use; consider, for example, if I have a Python client that includes:
This permits the caller to request the default value explicitly
by pasing None to either host, port, or base when instantiating
ipfsApi.client.Client.
Closesipfs-shipyard#7
When
host
,port
, orbase
is None,ipfsAPi.client.Client
should use the default value rather than trying to work with None. This makes the module easier to use; consider, for example, if I have a Python client that includes:I would like to be able to do this...
...rather than requiring a complex set of conditionals to deal with various combinations of user-specified vs. user-wants-the-default values.
The text was updated successfully, but these errors were encountered: