Skip to content

Releases: shotgunsoftware/python-api

v3.7.0

09 Dec 18:42
31df878
Compare
Choose a tag to compare

What's Changed

Details Regarding "Optimize payload" feature

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

For in-depth review, check out the full source code: #360

New Contributors

Full Changelog: v3.6.2...v3.7.0

v3.7.0-beta.1

26 Nov 19:30
Compare
Choose a tag to compare
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

v3.6.2

13 Aug 15:18
aaed90e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.6.1...v3.6.2

v3.6.1

13 Jun 23:09
74c8047
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.6.0...v3.6.1

v3.6.0

08 May 19:46
2c50a2c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.5.1...v3.6.0

v3.5.1

03 Apr 13:38
a199f04
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.5.0...v3.5.1

v3.5.0

26 Mar 12:39
527812c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.4.2...v3.5.0

v3.4.2

06 Feb 15:32
ecf804b
Compare
Choose a tag to compare

What's Changed

Internal release preparing the support for Python 3.11 in Toolkit

Full Changelog: v3.4.1...v3.4.2

v3.4.1

29 Jan 16:47
e398564
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.4.0...v3.4.1

v3.4.0

22 Sep 14:28
11db780
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.3.6...v3.4.0