def __init__(self, get_all_rects):
        """Store callable used to get all rect instances."""
        ### store the callable to get all rects
        self._get_all_rects = get_all_rects
Store callable used to get all rect instances.
nodezator/rectsman/main.py