[Core][Multimodal] Cache supports_kw (#24773)

Signed-off-by: Lukas Geiger <lukas.geiger94@gmail.com>
This commit is contained in:
Lukas Geiger 2025-09-13 08:27:04 +01:00 committed by GitHub
parent 98229db244
commit 1da0f1441d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2082,6 +2082,7 @@ async def _run_task_with_lock(task: Callable, lock: asyncio.Lock, *args,
return await task(*args, **kwargs)
@lru_cache
def supports_kw(
callable: Callable[..., object],
kw_name: str,