Skip to content

Split-off download_file_from_url method from download_attachment - #407

Open
herronelou wants to merge 1 commit into
shotgunsoftware:masterfrom
herronelou:#387-split_download_attachment
Open

Split-off download_file_from_url method from download_attachment#407
herronelou wants to merge 1 commit into
shotgunsoftware:masterfrom
herronelou:#387-split_download_attachment

Conversation

@herronelou

@herronelou herronelou commented Jul 16, 2025

Copy link
Copy Markdown

resolves #387

This pull request introduces a new method, download_file_from_url, to improve the flexibility of downloading files from Shotgun. The most important changes are outlined below:

New functionality for file downloads:

  • Added the download_file_from_url method in shotgun_api3/shotgun.py to allow downloading files directly using a provided URL. This method can handle Shotgun attachments as well as other files, such as thumbnails. It supports saving files to disk or returning the file data.
@herronelou

Copy link
Copy Markdown
Author

It looks like all the unit tests are failing every test, is that something I did or is there something else at play?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant