RAIMAD

Class Partial from raimad.partial

class Partial
Partial: a halfway-created Compo.

Much like Pythons `functools.partial`,
which allows partially calling a function,
a Partial allows partially creating a Compo.
A Partial points to a CompoType and holds a set of
pre-determined options for that CompoType.
When the Partial is __call__'ed,
it creates a new Compo based on the held options,
as well as any options passed to __call__.
The options passed to __call__ take precedence
over the held options.
def __init__(self, compo_cls: 'rai.typing.CompoType', **kwargs: Any) -> None:
    """
    Initialize self.  See help(type(self)) for accurate signature.
    """
def __call__(self, **kwargs: Any) -> 'rai.typing.Compo':
    """
    Finish creating the partially created Compo.
    """