no_cache function for temporarily deactivating the cache in a one-liner. This allows you to make a query without using the cache and without leaving the user's AlyxClient instance modified.
For example:
with no_cache(self.one.alyx):
session_id, session = self.one.search(subject=details['subject'],
date_range=details['date'],
number=details['number'],
details=True, query_type='remote')
no_cache function for temporarily deactivating the cache in a one-liner. This allows you to make a query without using the cache and without leaving the user's AlyxClient instance modified.
For example: