v3.7.0-beta.1
Pre-release
Pre-release
What's Changed
Remove unnecessary data in the payload when combining related queries before sending it to the server. This would improve overall performance decreasing network latency and server processing.
Affected methods
- find
- summarize
- text_search (API query_display_name_cache)
Detailed Description
The change should transform calls like:
sg.find('Asset', [['project', 'is', {'created_at': datetime.datetime(2015, 12, 16, 11, 2, 10, tzinfo), 'id': 72, 'name': 'Demo: Game', 'type': 'Project'}]])
as if the following had been called:
sg.find('Asset', [['project', 'is', {'id': 72, 'type': 'Project'}]])
This version also includes a new environmental variable to enable this feature. Please use it at initialization if you want to compare results or if you are getting any unexpected behavior.
export SHOTGUN_API_ENABLE_ENTITY_OPTIMIZATION=1
Full Changelog: v3.6.2...v3.7.0-beta.1