Closed ilkka closed 6 years ago
Hi @ilkka,
You are right we should return at least the mediaid. You can see the minimal needed modifications in https://github.com/Bynder/bynder-python-sdk/pull/4 for make it working until we fix it.
It's merge. You receive now a dict with a key 'mediaid' included that you can use. I'm closing this. Reopen or create a new issue if you still having issues.
That was fast, thanks! 👌🏻
Francisco Navarro notifications@github.com kirjoitti 5.1.2018 kello 16.55:
It's merge. You receive now a dict with a key 'mediaid' included that you can use. I'm closing this. Reopen or create a new issue if you still having issues.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I was a bit surprised by this and first thought my uploads were failing silently. They did in fact succeed, and it seems that the reason
upload_file
does not return anything is thatUploadClient._save_media
doeos not return anything. It just defines a local variablesave_success
that is not used for anything.How can I identify the asset after upload if
upload_file
does not return anything?