Loading ccserver/objectsdb.py +6 −0 Original line number Diff line number Diff line Loading @@ -387,6 +387,12 @@ class ObjectsDB(object): return ids def get(self, oid): ''' Get the specified object by it id or return None. ''' return self._objects.get(oid) def all(self, tags, to_check): ''' Get all the objects registered on the server with specified tags. Loading Loading
ccserver/objectsdb.py +6 −0 Original line number Diff line number Diff line Loading @@ -387,6 +387,12 @@ class ObjectsDB(object): return ids def get(self, oid): ''' Get the specified object by it id or return None. ''' return self._objects.get(oid) def all(self, tags, to_check): ''' Get all the objects registered on the server with specified tags. Loading