feed.api.boolean package

Submodules

feed.api.boolean.operations module

feed.api.boolean.operations.invert(s: feed.core.base.Stream[bool][bool]) → feed.core.base.Stream[bool][bool][source]

Inverts the truth value of the given stream.

Parameters:s (Stream[bool]) – A boolean stream.
Returns:An inverted stream of s.
Return type:Stream[bool]

Module contents

class feed.api.boolean.Boolean[source]

Bases: object

A class to register accessor and instance methods.

classmethod register(names: List[str])[source]

A function decorator that adds accessor and instance methods for specified data type.

Parameters:names (List[str]) – A list of names used to register the function as a method.
Returns:A decorated function.
Return type:Callable
class feed.api.boolean.BooleanMethods(stream: Stream)[source]

Bases: feed.core.methods.Methods

invert(*args, **kwargs)
class feed.api.boolean.BooleanMixin[source]

Bases: feed.core.mixins.DataTypeMixin

invert(*args, **kwargs)