testshift.utils

Package Contents

class testshift.utils.cached_property(func)

Bases: object

A cached property computed only once per instance

A property that is only computed once per instance and then replaces itself with an ordinary attribute. Deleting the attribute resets the property. Source: https://github.com/bottlepy/bottle/commit/fa7733e075da0d790d809aa3d2f53071897e6f76

testshift.utils.ResourceNotFoundException