From cf16350107a4ffd6a48d258a47fffc0733c138b2 Mon Sep 17 00:00:00 2001 From: jb3 Date: Fri, 17 Oct 2025 18:04:11 +0000 Subject: Deploying to docs from @ python-discord/bot-core@9f0162c0869ee8e0ae158636c8f0eac96159a675 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v10.3.0/output/pydis_core.utils.caching.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'v10.3.0/output/pydis_core.utils.caching.html') diff --git a/v10.3.0/output/pydis_core.utils.caching.html b/v10.3.0/output/pydis_core.utils.caching.html index 4c4af9b3..5a6270d9 100644 --- a/v10.3.0/output/pydis_core.utils.caching.html +++ b/v10.3.0/output/pydis_core.utils.caching.html @@ -10,8 +10,8 @@ - + @@ -470,7 +470,7 @@
class AsyncCache(max_size=128)[source]¶
-

Bases: object

+

Bases: object

LRU cache implementation for coroutines.

Once the cache exceeds the maximum size, keys are deleted in FIFO order.

An offset may be optionally provided to be applied to the coroutine’s arguments when creating the cache key.

@@ -480,10 +480,10 @@

Decorator for async cache.

Parameters:
-

arg_offset (int) – The offset for the position of the key argument.

+

arg_offset (int) – The offset for the position of the key argument.

Return type:
-

Callable

+

Callable

Returns:

A decorator to wrap the target function.

@@ -497,7 +497,7 @@

Initialise a new AsyncCache instance.

Parameters:
-

max_size (int) – How many items to store in the cache.

+

max_size (int) – How many items to store in the cache.

@@ -508,7 +508,7 @@

Clear cache instance.

Return type:
-

None

+

None

-- cgit v1.2.3