Loading cloudcontrol/common/tql/db/db.py +3 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,9 @@ class TqlResponse(object): pass return response def __len__(self): return len(self.objects) def __getitem__(self, name): obj = self.get(name) if obj is None: Loading Loading
cloudcontrol/common/tql/db/db.py +3 −0 Original line number Diff line number Diff line Loading @@ -146,6 +146,9 @@ class TqlResponse(object): pass return response def __len__(self): return len(self.objects) def __getitem__(self, name): obj = self.get(name) if obj is None: Loading