Releases: shotgunsoftware/python-api
v3.0.36
This release fixes a few issues:
- Fixes an error where
connect=False
during__init__
would still connect to Shotgun. - Adds support for
SHOTGUN_API_CACERTS
when uploading files to Shotgun. - Properly handles failed downloads due to malware scanning.
v3.0.35
- Add exception UserCredentialsNotAllowedForSSOAuthenticationFault.
Triggered when attempting to initiate a connection with a username/password
pair on an SSO-enabled Shotgun site.
v3.0.34
We've updated the Shotgun API to take advantage of the new pagination strategy from Shotgun 7.4.
More specifically, we've switched from a hard-coded value of 500 for "records_per_page" to a server-defined value. We will be experimenting with higher values with the goal of increasing performance for large result sets.
v3.0.32
New Documentation
We've finally moved our documentation to sphinx. All of our existing documentation on the Github wiki has been ported over (and updated in many places). In addition, all of the public methods in the code are now documented with details and example code (where possible). We hope you enjoy the update (we already do!).
The official documentation can now be found at http://developer.shotgunsoftware.com/python-api/.
The changelog has been removed from the README and put in it's own HISTORY file. It is also now part of the documentation site.
Optimized mimetypes
module import
We now always import the bundled mimetypes
module on versions of Python where it's broken. Previously we were doing unnecessary checks before importing.
v3.0.31
Additional Filter Presets
- An optional
additional_filter_presets
argument has been added tofind()
andfind_one
methods. This allows access to specific pre-formed queries that have been optimized on the Shotgun server. For example: getting the latest Version for a list of Shots. - Documentation for additional filter presets: Additional Filter Presets
v3.0.30
Multi-entity update options, product-specific authorization, and explicit file closing
-
Adds an optional dictionary parameter
multi_entity_update_modes
to useadd
,remove
, andset
modes when callingupdate()
on multi-entity fields. This allows for updating multi-entity fields without the need for pulling down the field's data and pushing back up the entire set. For example, when specifying an addition toSequence.shots
, we could specify:sg.update("Sequence", 1234, {"shots":[{"type":"Shot", "id":123}]}, multi_entity_update_modes={"shots":"add"})
-
Adds explicit file handler closing to download_attachment.
-
Adds basic
find()
ordering support to mockgun. -
Allows for product specific authorization parameters.
v3.0.29
v3.0.28
Serializable Timestamps
- Refactoring scoping of the sgtimezone library so that dates returned from Shotgun are serializable.
v3.0.27
Various fixes
- Make sure HTTP proxy authentication works with the @ character in a password.
- Smarter uploading of thumbnails and filmstrips with the upload() method.
- Make sure sudo authentication test works with Shotgun versions after 6.3.10
- Improve Travis build integration of the Python-API to run the full suite of API tests instead of just the unit and client tests.
v3.0.26
Testing Configuration Update
- Updating testing framework to use environment variables in conjunction with existing example_config file so that commits and pull requests are automatically run on travis-ci.
- Fix to prevent stripping out case-sensitivity of a URL if the user passes their credentials to config.server as an authrization header.