instantiate
Instantiate class by name.
def instantiate(
name: string,
*args: any,
**kwargs: any
) - > object
Instantiate class by name.
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The fully qualified name or symbol path of the class to be instantiated. |
| *args | any | Variable length argument list passed directly to the class constructor. |
| **kwargs | any | Arbitrary keyword arguments passed directly to the class constructor. |
Returns
| Type | Description |
|---|---|
object | An instance of the class resolved from the provided name, initialized with the given arguments. |