Removed thumbnail cache logic from ayon-python-api. In that case thumbnail getters do not store image file on disk, and does not return filepath, but thumbnail content in wrapped object. This is backwards compatibility breaking change. Added get_thumbnail_by_id method.
Additional information
The caching in python api could cause troubles as is not maintained in any other way. The logic was using location that should be defined by AYON launcher (desktop application) or different logic. It was not possible to bypass the cache.
Description
Removed thumbnail cache logic from ayon-python-api. In that case thumbnail getters do not store image file on disk, and does not return filepath, but thumbnail content in wrapped object. This is backwards compatibility breaking change. Added
get_thumbnail_by_id
method.Additional information
The caching in python api could cause troubles as is not maintained in any other way. The logic was using location that should be defined by AYON launcher (desktop application) or different logic. It was not possible to bypass the cache.