We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is much simpler to use the FileCache module if we can do just like with any other file:
FileCache
with vsc.utils.cache("foo") as f: f.load("some_key") # yabbadabba
Instead of
try: f = vsc.utils.cache("foo") try: f.load("some_key") # yabbadabba except Something, err: pass finally: pass except SomethingElse, err2: pass
Our main users for this module are SL6 boxes, where the __enter__/__exit__ protocol is supported.
__enter__
__exit__
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It is much simpler to use the
FileCache
module if we can do just like with any other file:Instead of
Our main users for this module are SL6 boxes, where the
__enter__
/__exit__
protocol is supported.The text was updated successfully, but these errors were encountered: