langtree.operators.base_operators

Module Contents

Classes

Parallel

Sequential

Functions

chainable(func)

Decorator that makes a function chainable with its arguments.

langtree.operators.base_operators.chainable(func)[source]

Decorator that makes a function chainable with its arguments.

Parameters:

func (callable) – The function to make chainable.

Returns:

The chainable function.

Return type:

callable

class langtree.operators.base_operators.Parallel(operations)[source]
__iadd__(other)[source]
__add__(other)[source]
add(other)[source]
__call__(*args, **kwargs)[source]
class langtree.operators.base_operators.Sequential(operations)[source]
__iadd__(other)[source]
__add__(other)[source]
__call__(*args, **kwargs)[source]
add(other)[source]