Skip to content

How to activate cache for variables #1399

Discussion options

You must be logged in to vote

Greetings @gwlucastrig! That deprecation was added a few years back when we were looking to update the API to use produce immutable objects. I'm still playing a bit of catchup since returning to Unidata to see where those efforts landed. However, even in light of immutability, being able to call setCaching for the read path is important, as you have pointed out. I consider that method as being deprecated for use outside of reading (not sure what that use-case would be at the moment), and I can update the docstring to reflect that. I'm going to need to give that more thought. There will be a way to allow cached reads on a per variable basis, but I'm not quite sure what it will look like at…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gwlucastrig
Comment options

Answer selected by gwlucastrig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants