Transforming List

The TransformingList module holds methods and decorators related to caching.

Functions

class TransformingList(transformer: Callable)

Bases: object

Handles the boilerplate for a list that will automatically attempt to transform new items to the correct type.

Parameters:

transformer – A callable that will be used to transform new elements.