Closed rmetcalf9 closed 4 years ago
Thanks for opening this PR. This was due to a backwards incompatible change in the blobs
interface. I've reverted it and pushed up a new version, so this should work again.
New version works for me now. Thanks for the update!
I have what I thought would be very simple code. Just trying to list notes and get the url's to download the images:
But no luck.
I have searched the code for getMediaLink. I can't seem to find any test that covers this function. Also I can't understand where blob.parent.server_id and blog.server_id should come from.
My curImage object seems to be of type NodeImage This is derived from NodeBlob Which comes from Element
None of these objects have a refernece to self.parent, or self.server_id.
There is another class "class Node(Element, TimestampsMixin):" which does have both a self.parent and a self.server_id.
As an alternative method I have tried calling curImage.url but I get not implemented for this.
Does anyone have an example of the correct use of getMediaLink?