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
Hi folks, spotted some failures in a CI pipeline I've got running that uses shotgun_api3. Looks like in shotgun_api3 3.9.1 Shotgun.download_attachment changed from
in my code though, I am passing the id of the attachment that I want to download, rather than the whole dict; which the docstring for this method indicates you can do
:param dict attachment: Usually a dictionary representing an Attachment entity.
The dictionary should have a ``url`` key that specifies the download url.
Optionally, the dictionary can be a standard entity hash format with ``id`` and
``type`` keys as long as ``"type"=="Attachment"``. This is only supported for
backwards compatibility (#22150).
If an int value is passed in, the Attachment entity with the matching id will
be downloaded from the Shotgun server.
I think if this is still something to be supported we could change the type hinting here to
Activity