This removes the thumbnail fetching from the get_object method (and canonical_stream, which uses it). Instead, it exposes a new open_binary_asset method, which accepts the asset dictionary and returns a file-like object that will contain the object. It will try to fetch from ipfs first if there's an ipfs link present, otherwise will try to fetch the http uri.
This removes the thumbnail fetching from the
get_object
method (andcanonical_stream
, which uses it). Instead, it exposes a newopen_binary_asset
method, which accepts the asset dictionary and returns a file-like object that will contain the object. It will try to fetch from ipfs first if there's an ipfs link present, otherwise will try to fetch the http uri.