Clear cached URL resolutions.
(self)
| 2085 | return result |
| 2086 | |
| 2087 | def invalidate_resolution_cache(self) -> None: |
| 2088 | """Clear cached URL resolutions.""" |
| 2089 | if hasattr(self, "_platform_cache"): |
| 2090 | self._platform_cache.clear() |
| 2091 | if hasattr(self, "_framework_cache"): |
| 2092 | self._framework_cache.clear() |
| 2093 | logger.debug("Cleared URL resolution cache") |
| 2094 | |
| 2095 | def __str__(self) -> str: |
| 2096 | """Return string representation of the configuration.""" |