def get_size_from_backend(context, uri):
 loc = location.get_location_from_uri(uri)
 store = get_store_from_uri(context, uri, loc)
 return store.get_size(loc)

def get_size_from_backend ( context , uri ) : loc = location . get_location_from_uri ( uri ) store = get_store_from_uri ( context , uri , loc ) return store . get_size ( loc )
retrieves image size from backend specified by uri .