nemoguardrails.patch_asyncio
nemoguardrails.patch_asyncio
Module Contents
Functions
Data
API
Apply the optional nested-loop patch when explicitly enabled.
Raises:
ImportError: If patching is enabled without the optional dependency.
[<griffe._internal.docstrings.models.DocstringWarn object at 0xffffacab5eb0>]
Helper to check if a sync call is made from an async loop.
Returns True if a sync call is made from an async loop.