pandaspgs.client
clear_cache
clear_cache(field: str = 'All') -> None
Clear some or all of the cache.
Parameters: |
|
---|
Returns: |
|
---|
from pandaspgs.get_publication import get_publications
from pandaspgs.client import clear_cache
# Clear all caches.
clear_cache('All')
pub = get_publications()
# Clear the cache used by get_publications()
clear_cache('Publication')
pub = get_publications()