CAVEconnectome / CAVEclient

This is the python client for accessing REST APIs within the Connectome Annotation Versioning Engine.
https://caveconnectome.github.io/CAVEclient/
MIT License
19 stars 12 forks source link

BUG: use a hashkey for correct version metadata cache #182

Closed ceesem closed 2 months ago

ceesem commented 2 months ago

Fixes a small bug in the get_tables_metadata function where the result was cached independent of version, causing incorrect results if tables were queried for two different versions. This fix adds a key for the cache that hashes on datastack name and version, which should uniquely define the result.