diff --git a/bijoe/engine.py b/bijoe/engine.py index 11a4626..9b0c4d1 100644 --- a/bijoe/engine.py +++ b/bijoe/engine.py @@ -203,6 +203,11 @@ class Engine(object): self.warehouse = warehouse self.log = logging.getLogger(__name__) + @property + def cubes(self): + for cube in self.warehouse.cubes: + yield EngineCube(self, cube) + def __getitem__(self, name): return EngineCube(self, self.warehouse.get_cube(name))