ArgsKwargs
No overview available.
Attributes
| Attribute | Type | Description |
|---|---|---|
| args | PyTuple | A tuple containing the positional arguments to be passed to a Python callable. |
| kwargs | Option< PyDict > = None | An optional dictionary containing the keyword arguments to be passed to a Python callable. |
Constructor
Signature
def ArgsKwargs(
args: Py< PyTuple >,
kwargs: Option< Py< PyDict > > = None
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| args | Py< PyTuple > | A tuple of positional arguments. |
| kwargs | Option< Py< PyDict > > = None | An optional dictionary of keyword arguments. |
Methods
args()
def args() - > PyTuple
Retrieves the positional arguments stored within the container.
Returns
| Type | Description |
|---|---|
PyTuple | A Python tuple containing the positional arguments. |
kwargs()
def kwargs() - > Option< PyDict >
Retrieves the keyword arguments stored within the container, if any exist.
Returns
| Type | Description |
|---|---|
Option< PyDict > | A Python dictionary containing keyword arguments, or None if no keyword arguments were provided. |