INNER CODE UNIT · Python

base_exceptions

alisaifee/limits · limits/aio/storage/memcached/__init__.py:72

    def base_exceptions(
        self,
    ) -> type[Exception] | tuple[type[Exception], ...]:  # pragma: no cover
        return self.bridge.base_exceptions

    async def get(self, key: str) -> int:
        """
        :param key: the key to get the counter value for
        """
        return await self.bridge.get(key)

    async def clear(self, key: str) -> None:
        """
        :param key: the key to clear rate limits for
        """
        await self.bridge.clear(key)

    async def incr(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…