unesco_reader.config ==================== .. py:module:: unesco_reader.config .. autoapi-nested-parse:: Configuration file for unesco_reader This file contains shared configuration for the unesco_reader package, including custom types and caching utilities. Attributes ---------- .. autoapisummary:: unesco_reader.config.GeoUnitType unesco_reader.config._cached_functions Functions --------- .. autoapisummary:: unesco_reader.config.session_cache unesco_reader.config.clear_cache Module Contents --------------- .. py:data:: GeoUnitType .. py:data:: _cached_functions :type: list :value: [] .. py:function:: session_cache(maxsize: int = 32) LRU cache decorator for API definition endpoints. Caches results for the lifetime of the session. Use ``clear_cache`` to manually invalidate all cached data. :param maxsize: Maximum number of entries in the cache. .. py:function:: clear_cache() -> None Clear all caches used by the package.