src/risclog/sqlalchemy/cache.py
def clear(self, session=None):
        """Clear the cache. Will result in data loss of unflushed objects."""
        self._cached_instances.clear()
        self._indices.clear()
        gc.collect()
        self.log_memory_usage()
Clear the cache. Will result in data loss of unflushed objects.
Clear the cache. Will result in data loss of unflushed objects.
Clear the cache . Will result in data loss of unflushed objects .
def clear(self, session=None):
        self._cached_instances.clear()
        self._indices.clear()
        gc.collect()
        self.log_memory_usage()
def clear ( self , session = None ) : self . _cached_instances . clear ( ) self . _indices . clear ( ) gc . collect ( ) self . log_memory_usage ( )
Clear the cache.
Clear the cache .
"""Clear the cache. Will result in data loss of unflushed objects."""
self
session