spekk.transformations.base

spekk.transformations.base#

The base classes and abstract classes for working with Transformation.

Classes

Buildable()

An abstract class representing something that can be "built" with a Spec to get information about how the spec changes when transforming functions.

PartialTransformation(partial_transformations)

A partially applied transformation.

Specced(f, transform_spec)

A wrapper around f that has information about what happens to the spec when the function is called.

Transformation()

A Transformation takes a function and transforms/modifies it.

TransformedFunction(wrapped_fn, ForwardRef], ...)

Exceptions

TransformedFunctionError(original_exception, ...)

An error that occurred while calling a TransformedFunction.