8.2.4.5.25. extend

Blueprint.extend(*blues, memo=None)[source]

Extends deferred operations calling each operation of given Blueprints.

Parameters:
Returns:

Self.

Return type:

Blueprint

——————————————————————–

Example:

>>> import schedula as sh
>>> blue = sh.BlueDispatcher()
>>> blue.extend(
...     BlueDispatcher().add_func(len, ['length']),
...     BlueDispatcher().add_func(callable, ['is_callable'])
... )
<schedula.utils.blue.BlueDispatcher object at ...>