You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case mutating the existing LoadParameters object also modified it it the cache key, and getting a value from the cache with the new cache key returned the value for the old cache key.
Making LoadParameters immutable like EvalEnv would prevent this kind of mistakes.
The text was updated successfully, but these errors were encountered:
load_collection
caching was fixed as part of Open-EO/openeo-geotrellis-extensions#74; this made an issue apparent withLoadParameters
: a mutable object that's part of a cache key has some undesired consequences.In this case mutating the existing
LoadParameters
object also modified it it the cache key, and getting a value from the cache with the new cache key returned the value for the old cache key.Making
LoadParameters
immutable likeEvalEnv
would prevent this kind of mistakes.The text was updated successfully, but these errors were encountered: