calling
Class info¶
🛈 DocStrings¶
Callable execution utilities.
execute_callable
async
¶
Execute a callable and return its result.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
import_path
|
str
|
Dot-separated path to callable |
required |
**kwargs
|
Any
|
Arguments to pass to the callable |
{}
|
Returns:
| Type | Description |
|---|---|
Any
|
Result of the callable execution |
Raises:
| Type | Description |
|---|---|
ValueError
|
If import or execution fails |