Mercurial > libervia-backend
diff src/core/sat_main.py @ 2431:a9fac72825a2
memory (disco): added findServiceEntity helper method to get first service of a kind
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 15 Nov 2017 08:54:32 +0100 |
parents | 8b37a62336c3 |
children | 81a45e7886c9 |
line wrap: on
line diff
--- a/src/core/sat_main.py Sat Nov 11 18:39:26 2017 +0100 +++ b/src/core/sat_main.py Wed Nov 15 08:54:32 2017 +0100 @@ -604,6 +604,9 @@ def getDiscoItems(self, *args, **kwargs): return self.memory.disco.getItems(*args, **kwargs) + def findServiceEntity(self, *args, **kwargs): + return self.memory.disco.findServiceEntity(*args, **kwargs) + def findServiceEntities(self, *args, **kwargs): return self.memory.disco.findServiceEntities(*args, **kwargs)