Skip to main content

ArgsKwargs

No overview available.

Attributes

AttributeTypeDescription
argsPyTupleA tuple containing the positional arguments to be passed to a Python callable.
kwargsOption< PyDict > = NoneAn 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

NameTypeDescription
argsPy< PyTuple >A tuple of positional arguments.
kwargsOption< Py< PyDict > > = NoneAn optional dictionary of keyword arguments.

Methods


args()

def args() - > PyTuple

Retrieves the positional arguments stored within the container.

Returns

TypeDescription
PyTupleA Python tuple containing the positional arguments.

kwargs()

def kwargs() - > Option< PyDict >

Retrieves the keyword arguments stored within the container, if any exist.

Returns

TypeDescription
Option< PyDict >A Python dictionary containing keyword arguments, or None if no keyword arguments were provided.